ReportingService2010.GetItemDataSources(String) ReportingService2010.GetItemDataSources(String) ReportingService2010.GetItemDataSources(String) Method


Returns the data sources for an item in the catalog.

 cli::array <ReportService2010::DataSource ^> ^ GetItemDataSources(System::String ^ ItemPath);
[System.Web.Services.Protocols.SoapDocumentMethod("", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="", ResponseNamespace="", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ReportService2010.DataSource[] GetItemDataSources (string ItemPath);
Public Function GetItemDataSources (ItemPath As String) As DataSource()


String String String

The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.


An array of DataSource objects.


The table below shows header and permissions information on this operation.

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions Depends on the item type:

- Report, DataSet: ReadDatasource
- Model: ReadDatasource

In addition, you must also have the ReadProperties permission for the item's data sources.
SharePoint Mode Required Permissions OpenItems on Item AND ViewListItems on the underlying data sources

The GetItemDataSources method returns the values of properties associated with a data source, and may only be called for Report and Model item types.

Applies to