語言

ReportingService2006.GetSystemProperties(Property[]) 方法

定義

回傳一個或多個系統屬性的值。

public:
 cli::array <ReportService2006::Property ^> ^ GetSystemProperties(cli::array <ReportService2006::Property ^> ^ Properties);
public ReportService2006.Property[] GetSystemProperties(ReportService2006.Property[] Properties);
member this.GetSystemProperties : ReportService2006.Property[] -> ReportService2006.Property[]
Public Function GetSystemProperties (Properties As Property()) As Property()

參數

Properties
Property[]

一個包含你想要取值屬性名稱的物件陣列 Property 。

傳回

一個包含一個或多個系統屬性值的物件陣列 Property 。

備註

下表顯示此操作的標頭與權限資訊。

SOAP 標頭 (在) TrustedUserHeaderValue

(出局) ServerInfoHeaderValue
必要權限 <xref:Microsoft.SharePoint.SPBasePermissions.Open> 在所有屬性 上 Properties

使用此 GetSystemProperties 方法可取得完整的使用者定義及保留系統屬性集合。 關於報告伺服器資料庫中保留系統屬性的清單,請參見 報告伺服器系統屬性。

若Properties參數為 null (Nothing在 Visual Basic 中),該GetSystemProperties方法會根據使用者權限回傳系統屬性。 如果使用者擁有 <xref:Microsoft.SharePoint.SPBasePermissions.Open> 該網站的權限,該方法會回傳使用者擁有 <xref:Microsoft.SharePoint.SPBasePermissions.Open> 權限的所有系統屬性。 若使用者沒有 <xref:Microsoft.SharePoint.SPBasePermissions.Open> 網站權限,該方法會回傳所有非權限的系統屬性。

若未找到請求的屬性,則不會回傳錯誤。 該屬性會被回傳但沒有價值。

適用於