次の方法で共有


GetSystemProperties メソッド

1 つ以上のシステム プロパティの値を返します。

名前空間:  ReportService2010
アセンブリ:  ReportService2010 (ReportService2010.dll)

構文

'宣言
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetSystemProperties", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
    ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetSystemProperties ( _
    Properties As Property() _
) As Property()
'使用
Dim instance As ReportingService2010
Dim Properties As Property()
Dim returnValue As Property()

returnValue = instance.GetSystemProperties(Properties)
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetSystemProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public Property[] GetSystemProperties(
    Property[] Properties
)
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetSystemProperties", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
public:
array<Property^>^ GetSystemProperties(
    array<Property^>^ Properties
)
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetSystemProperties", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member GetSystemProperties : 
        Properties:Property[] -> Property[] 
public function GetSystemProperties(
    Properties : Property[]
) : Property[]

パラメーター

戻り値

型: array<ReportService2010. . :: . .Property> [] () [] []
1 つ以上のシステム プロパティの値を表す Property オブジェクトの配列です。

説明

次の表に、この操作に関連するヘッダーおよび権限の情報を示します。

SOAP ヘッダーの使用方法

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

ネイティブ モードで必要な権限

Properties 配列内のすべてのプロパティに対する ReadSystemProperties

SharePoint モードで必要な権限

Open()()()() のすべてのプロパティに対するProperties

ユーザー定義プロパティと予約済みのシステム プロパティをすべて取得するには、GetSystemProperties メソッドを使用します。レポート サーバー データベース内の予約済みシステム プロパティの一覧については、「レポート サーバーのシステム プロパティ」を参照してください。

Properties パラメーターが NULL (Visual Basic では Nothing) の場合、GetSystemProperties メソッドは、ユーザーが表示権限を持っているすべてのシステム プロパティを返します。SharePoint 統合混合モードでは、ユーザーが Web サイトの Open()()()() 権限を持っている場合、メソッドは、ユーザーが Open()()()() 権限を持っているすべてのシステム プロパティを返します。ユーザーが Web サイトの Open()()()() 権限を持っていない場合、メソッドは、権限のないすべてのシステム プロパティを返します。

要求されたプロパティが見つからない場合でも、エラーは返されません。この場合は、値が指定されていないプロパティが返されます。

ユーザーがサーバー管理 Web サイトのサイト コレクションにアクセスする適切な権限を持っている場合はプロパティを返します。