Compartilhar 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