Share via


CustomParameterDataProvider.SafeGetDataSource method

Gets a data source from the repository.

Namespace:  Microsoft.PerformancePoint.Scorecards.Server.Extensions
Assembly:  Microsoft.PerformancePoint.Scorecards.Server (in Microsoft.PerformancePoint.Scorecards.Server.dll)

Syntax

'Declaration
Protected Shared Function SafeGetDataSource ( _
    parameterSourceLocation As RepositoryLocation _
) As DataSource
'Usage
Dim parameterSourceLocation As RepositoryLocation
Dim returnValue As DataSource

returnValue = CustomParameterDataProvider.SafeGetDataSource(parameterSourceLocation)
protected static DataSource SafeGetDataSource(
    RepositoryLocation parameterSourceLocation
)

Parameters

Return value

Type: Microsoft.PerformancePoint.Scorecards.DataSource

Exceptions

Exception Condition
BpmException

Thrown if the data source does not exist.

See also

Reference

CustomParameterDataProvider class

CustomParameterDataProvider members

Microsoft.PerformancePoint.Scorecards.Server.Extensions namespace