ReportingService2010.ListSubscriptionsUsingDataSource(String) ReportingService2010.ListSubscriptionsUsingDataSource(String) ReportingService2010.ListSubscriptionsUsingDataSource(String) Method

定义

返回与给定数据源关联的订阅列表。 Returns a list of subscriptions that are associated with a given data source.

public:
 cli::array <ReportService2010::Subscription ^> ^ ListSubscriptionsUsingDataSource(System::String ^ DataSource);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListSubscriptionsUsingDataSource", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public ReportService2010.Subscription[] ListSubscriptionsUsingDataSource (string DataSource);
Public Function ListSubscriptionsUsingDataSource (DataSource As String) As Subscription()
参数
DataSource
String String String

数据源的完整路径名。 The full path name of the data source.

返回

一个 Subscription 对象的数组,该数组表示与给定数据源关联的订阅。 An array of Subscription objects that represents the subscriptions that are associated with a given data source.

注解

下表显示了有关此操作的标头和权限信息。The table below shows header and permissions information on this operation.

SOAP 标头使用情况SOAP Header Usage (In) TrustedUserHeaderValue(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue(Out) ServerInfoHeaderValue
纯模式所需的权限Native Mode Required Permissions ReadProperties
SharePoint 模式所需的权限SharePoint Mode Required Permissions ViewListItems

在本机模式下,此方法仅返回用户具有权限的报表订阅ReadPropertiesReadAnySubscription权限。In native mode, this method only returns subscriptions for reports to which the user has ReadProperties and ReadAnySubscription permissions. 在 SharePoint 模式下,此方法仅返回用户具有权限的报表订阅ViewListItems权限。In SharePoint mode, this method only returns subscriptions for reports to which the user has ViewListItems permission.

适用于