ReportingService2005.GetItemDataSources 方法

Returns the data sources for an item in the catalog.

命名空间:  ReportService2005
程序集:  ReportService2005(在 ReportService2005.dll 中)

语法

声明
Public Function GetItemDataSources ( _
    Item As String _
) As DataSource()
用法
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[]

参数

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

返回值

类型:array<ReportService2005.DataSource[]
An array of DataSource objects.

注释

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.

请参阅

参考

ReportingService2005 类

ReportService2005 命名空间