DataSourceRegistry.GetDataSource Method
Gets a data source object with the corresponding type ID to wrap the data source data.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)
Syntax
'Declaration
Public Shared Function GetDataSource ( _
dataSource As DataSource _
) As IDataSourceProvider
'Usage
Dim dataSource As DataSource
Dim returnValue As IDataSourceProvider
returnValue = DataSourceRegistry.GetDataSource(dataSource)
public static IDataSourceProvider GetDataSource(
DataSource dataSource
)
Parameters
dataSource
Type: Microsoft.PerformancePoint.Scorecards.DataSourceThe data source data object.
Return Value
Type: Microsoft.PerformancePoint.Scorecards.IDataSourceProvider
A new data source object that wraps the data source data object.