ReportingService2010.GetItemDataSources 方法

Returns the data sources for an item in the catalog.

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

[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemDataSources", RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public DataSource[] GetItemDataSources(
	string ItemPath
)

参数

ItemPath
类型:System.String
The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.

返回值

类型:ReportService2010.DataSource[]
An array of DataSource objects.

The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

Depends on the item type:

In addition, you must also have the ReadProperties permission for the item's data sources.

SharePoint Mode 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.

社区附加资源

添加
显示: