Share via


ReportingService2005.GetItemDataSources(String) Method

Definition

Returns the data sources for an item in the catalog.

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

Parameters

Item
String

The full name of the item for which to retrieve data sources.

Returns

An array of DataSource objects.

Remarks

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

SOAP Headers (Out) ServerInfoHeaderValue
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.

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