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> 網站權限,該方法會回傳所有非權限的系統屬性。
若未找到請求的屬性,則不會回傳錯誤。 該屬性會被回傳但沒有價值。
若使用者擁有適當權限存取中央管理網站的網站集合,則回傳屬性。