ReportingService2010.GetSystemProperties(Property[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个或多个系统属性的值。
public:
cli::array <ReportService2010::Property ^> ^ GetSystemProperties(cli::array <ReportService2010::Property ^> ^ Properties);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetSystemProperties", 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("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public ReportService2010.Property[] GetSystemProperties(ReportService2010.Property[] Properties);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetSystemProperties", 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("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.GetSystemProperties : ReportService2010.Property[] -> ReportService2010.Property[]
Public Function GetSystemProperties (Properties As Property()) As Property()
参数
返回
一个包含一个或多个系统属性值的对象数组 Property 。
- 属性
注解
下表显示了该操作的头部和权限信息。
| SOAP头的使用 | (在) TrustedUserHeaderValue (出局) ServerInfoHeaderValue |
| 本地模式所需权限 |
ReadSystemProperties 对于数组中 Properties 的所有属性。 |
| SharePoint 模式 必要权限 |
<xref:Microsoft.SharePoint.SPBasePermissions.Open> 在所有属性 上 Properties |
使用该 GetSystemProperties 方法检索完整的用户自定义和保留系统属性集合。 有关报告服务器数据库中保留系统属性的列表,请参见报告服务器系统属性。
如果Properties参数为null(Nothing在 Visual Basic 中),方法GetSystemProperties返回用户有权限查看的所有系统属性。 在 SharePoint 集成模式下,如果用户对该网站有<xref:Microsoft.SharePoint.SPBasePermissions.Open>权限,该方法会返回该用户有<xref:Microsoft.SharePoint.SPBasePermissions.Open>权限的所有系统属性。 如果用户没有 <xref:Microsoft.SharePoint.SPBasePermissions.Open> 该网站的权限,该方法会返回所有非权限的系统属性。
如果未找到请求的属性,则不会返回错误。 该属性返回时没有价值。
如果用户拥有访问中央管理网站网站集合的适当权限,则返回属性。