Dela via


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

Return Value

Type: Microsoft.PerformancePoint.Scorecards.IDataSourceProvider
A new data source object that wraps the data source data object.

See Also

Reference

DataSourceRegistry Class

DataSourceRegistry Members

Microsoft.PerformancePoint.Scorecards Namespace