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
一个 DataSource 对象数组。An array of DataSource objects.
Remarks
下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.
SOAP 标头SOAP Headers | (Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue |
所需的权限Required Permissions | 取决于项类型:Depends on the item type: - Report , DataSet : ReadDatasource- Report , DataSet : ReadDatasource- Model : ReadDatasource- Model : ReadDatasource此外,还必须具有 ReadProperties 项的数据源的权限。In addition, you must also have the ReadProperties permission for the item's data sources. |
GetItemDataSources方法返回与数据源相关联的属性的值,并且只能为 Report
和 Model
项类型调用。The GetItemDataSources method returns the values of properties associated with a data source, and may only be called for Report
and Model
item types.