[]
Loads a shared data source from the specified file path.
public static DataSource LoadSharedDataSource(string filePath)
| Type | Name | Description |
|---|---|---|
| string | filePath | The path to the .rdsx file. |
| Type | Description |
|---|---|
| DataSource | The loaded DataSource. |
| Type | Condition |
|---|---|
| FileNotFoundException | Thrown if the file does not exist. |
Loads a shared data source from the specified XML stream.
public static DataSource LoadSharedDataSource(Stream sharedDataSource)
| Type | Name | Description |
|---|---|---|
| Stream | sharedDataSource | The Stream containing the XML data of the shared data source. |
| Type | Description |
|---|---|
| DataSource | The loaded DataSource. |
Loads a shared data source using the specified resource locator and data source reference.
public static DataSource LoadSharedDataSource(ResourceLocator resourceLocator, string dataSourceReference)
| Type | Name | Description |
|---|---|---|
| ResourceLocator | resourceLocator | The ResourceLocator instance. |
| string | dataSourceReference | The reference string of the shared data source. |
| Type | Description |
|---|---|
| DataSource | The loaded DataSource. |