PolicyCategorySubscription.PolicyCategory プロパティ

サブスクリプションに関連付けられたカテゴリを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Dmf
アセンブリ:  Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)

構文

'宣言
<SfcReferenceAttribute(GetType(Condition), "PolicyStore/PolicyCategory[@Name='{0}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property PolicyCategory As String 
    Get 
    Set
'使用
Dim instance As PolicyCategorySubscription 
Dim value As String 

value = instance.PolicyCategory

instance.PolicyCategory = value
[SfcReferenceAttribute(typeof(Condition), "PolicyStore/PolicyCategory[@Name='{0}']", 
    )]
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public string PolicyCategory { get; set; }
[SfcReferenceAttribute(typeof(Condition), L"PolicyStore/PolicyCategory[@Name='{0}']", 
    )]
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property String^ PolicyCategory {
    String^ get ();
    void set (String^ value);
}
[<SfcReferenceAttribute(typeof(Condition), "PolicyStore/PolicyCategory[@Name='{0}']", 
    )>]
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member PolicyCategory : string with get, set
function get PolicyCategory () : String 
function set PolicyCategory (value : String)

プロパティ値

型: System.String
サブスクリプションに関連付けられたカテゴリを示す PolicyCategory オブジェクト値です。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

関連項目

参照

PolicyCategorySubscription クラス

Microsoft.SqlServer.Management.Dmf 名前空間