ReportingService2005.GetItemDataSources Method

Returns the data sources for an item in the catalog.

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.dll)

Syntax

'Declaration
Public Function GetItemDataSources ( _
    Item As String _
) As DataSource()
'Usage
Dim instance As ReportingService2005 
Dim Item As String 
Dim returnValue As DataSource()

returnValue = instance.GetItemDataSources(Item)
public DataSource[] GetItemDataSources(
    string Item
)
public:
array<DataSource^>^ GetItemDataSources(
    String^ Item
)
member GetItemDataSources : 
        Item:string -> DataSource[] 
public function GetItemDataSources(
    Item : String
) : DataSource[]

Parameters

  • Item
    Type: System.String
    The full name of the item for which to retrieve data sources.

Return Value

Type: array<ReportService2005.DataSource[]
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:

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.

See Also

Reference

ReportingService2005 Class

ReportService2005 Namespace