## ExternalConnection::SetSourceFile(const U16String\&) method


Used when the external data source is file-based. When a connection to such a data source fails, the spreadsheet application attempts to connect directly to this file. May be expressed in URI or system-specific file path notation.

```cpp
void Aspose::Cells::ExternalConnections::ExternalConnection::SetSourceFile(const U16String &value)
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [ExternalConnection](../)
* Namespace [Aspose::Cells::ExternalConnections](../../)
* Library [Aspose.Cells for C++](../../../)
## ExternalConnection::SetSourceFile(const char16_t*) method


Used when the external data source is file-based. When a connection to such a data source fails, the spreadsheet application attempts to connect directly to this file. May be expressed in URI or system-specific file path notation.

```cpp
void Aspose::Cells::ExternalConnections::ExternalConnection::SetSourceFile(const char16_t *value)
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [ExternalConnection](../)
* Namespace [Aspose::Cells::ExternalConnections](../../)
* Library [Aspose.Cells for C++](../../../)
