共用方式為


ReportingService2006.GetItemDataSources 方法

Returns the data sources for an item in the catalog.

命名空間:  ReportService2006
組件:  ReportService2006 (在 ReportService2006.dll 中)

語法

'宣告
Public Function GetItemDataSources ( _
    Item As String _
) As DataSource()
'用途
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[]

參數

  • Item
    型別:System.String
    The fully qualified URL of the item including the file name and extension.

傳回值

型別:array<ReportService2006.DataSource[]
An array of DataSource objects.

備註

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.

請參閱

參考

ReportingService2006 類別

ReportService2006 命名空間