مشاركة عبر


ReportingService2006.GetItemDataSources Method

Returns the data sources for an item in the catalog.

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

Syntax

'Declaration
Public Function GetItemDataSources ( _
    Item As String _
) As DataSource()
'Usage
Dim instance As ReportingService2006 
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 fully qualified URL of the item including the file name and extension.

Return Value

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

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.

See Also

Reference

ReportingService2006 Class

ReportService2006 Namespace