ReportingService2010.ListSubscriptionsUsingDataSource(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与给定数据源关联的订阅列表。
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);
[<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)>]
member this.ListSubscriptionsUsingDataSource : string -> ReportService2010.Subscription[]
Public Function ListSubscriptionsUsingDataSource (DataSource As String) As Subscription()
参数
- DataSource
- String
数据源的完整路径名。
返回
一个 Subscription 对象的数组,该数组表示与给定数据源关联的订阅。
- 属性
注解
下表显示了有关此操作的标头和权限信息。
SOAP 标头用法 | (In) TrustedUserHeaderValue (Out) ServerInfoHeaderValue |
本机模式所需的权限 | ReadProperties |
SharePoint 模式所需权限 | <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> |
在本机模式下,此方法仅返回用户拥有 ReadProperties 和 ReadAnySubscription 权限的报表的订阅。 在 SharePoint 模式下,此方法仅返回用户有权 <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> 访问的报表的订阅。