Share via


ReportingService2006.GetItemDataSources(String) Method

Definition

Returns the data sources for an item in the catalog.

public:
 cli::array <ReportService2006::DataSource ^> ^ GetItemDataSources(System::String ^ Item);
public ReportService2006.DataSource[] GetItemDataSources (string Item);
member this.GetItemDataSources : string -> ReportService2006.DataSource[]
Public Function GetItemDataSources (Item As String) As DataSource()

Parameters

Item
String

The fully qualified URL of the item including the file name and extension.

Returns

An array of DataSource objects.

Remarks

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

SOAP Headers (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.OpenItems> on Item AND <xref:Microsoft.SharePoint.SPBasePermissions.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