Partilhar via


IBIMonitoringServiceApplicationProxy.CreateDataSource Method

Saves a data source object as a content type in a SharePoint document library.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.ServerCommon (in Microsoft.PerformancePoint.Scorecards.ServerCommon.dll)

Syntax

'Declaration
Function CreateDataSource ( _
    listUrl As String, _
    dataSource As DataSource _
) As DataSource
'Usage
Dim instance As IBIMonitoringServiceApplicationProxy
Dim listUrl As String
Dim dataSource As DataSource
Dim returnValue As DataSource

returnValue = instance.CreateDataSource(listUrl, _
    dataSource)
DataSource CreateDataSource(
    string listUrl,
    DataSource dataSource
)

Parameters

  • listUrl
    Type: System.String

    The server-relative URL of the SharePoint document library to save the object to. Example: /BI Center/Data Connections for PerformancePoint.

  • dataSource
    Type: Microsoft.PerformancePoint.Scorecards.DataSource

    The data source object to create, which specifies values for the required Name property. For custom data sources, dataSource must also specify the SubTypeId property, and the value must match the subType attribute specified for the custom data source in the web.file for PerformancePoint Services in Microsoft SharePoint Server 2010.

Return Value

Type: Microsoft.PerformancePoint.Scorecards.DataSource
The new data source.

See Also

Reference

IBIMonitoringServiceApplicationProxy Interface

IBIMonitoringServiceApplicationProxy Members

Microsoft.PerformancePoint.Scorecards Namespace