ReportingService2010.SetSystemProperties(Property[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為報告伺服器或 SharePoint 農場設定一個或多個系統屬性。
public:
void SetSystemProperties(cli::array <ReportService2010::Property ^> ^ Properties);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetSystemProperties", 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 void SetSystemProperties(ReportService2010.Property[] Properties);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/SetSystemProperties", 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.SetSystemProperties : ReportService2010.Property[] -> unit
Public Sub SetSystemProperties (Properties As Property())
參數
- 屬性
備註
下表顯示此操作的標頭與權限資訊。
| SOAP 標頭的使用 | (在) TrustedUserHeaderValue (出局) ServerInfoHeaderValue |
| 原生模式所需權限 | UpdateSystemProperties (系統) |
| SharePoint 模式 必要權限 | <xref:Microsoft.SharePoint.SPBasePermissions.ManageWeb> |
使用者可以新增更多系統未保留的自訂系統屬性。 如果陣列中指定的 Property 屬性不存在,則會建立該屬性。 如果某個屬性存在價值,該值會被覆寫。 你無法建立或移除保留系統屬性。 根據所設定的系統屬性,報告伺服器的功能可能會有所改變。 關於保留系統屬性的清單,請參見 「報告伺服器系統屬性」。 若發生錯誤,則不設定屬性。
你可以將財產設定為空值來移除該物件的價值。
若使用者擁有適當權限存取中央管理網站的網站集合,則會回傳屬性。