CustomParameterDataProvider.SafeGetDataSource Method (Microsoft.PerformancePoint.Scorecards.Extensions)

Gets the data source that has the specified ID.

Namespace: Microsoft.PerformancePoint.Scorecards.Extensions
Assembly: Microsoft.PerformancePoint.Scorecards.Server (in microsoft.performancepoint.scorecards.server.dll)

Syntax

'Declaration
Protected Function SafeGetDataSource ( _
    parameterSourceId As Guid _
) As DataSource
'Usage
Dim parameterSourceId As Guid
Dim returnValue As DataSource

returnValue = Me.SafeGetDataSource(parameterSourceId)
protected DataSource SafeGetDataSource (
    Guid parameterSourceId
)

Parameters

  • parameterSourceId
    The ID of the data source.

Return Value

A data source.

Remarks

Throws an exception if the data source does not exist.

See Also

Reference

CustomParameterDataProvider Class
CustomParameterDataProvider Members
Microsoft.PerformancePoint.Scorecards.Extensions Namespace