Policy.RootCondition プロパティ

このポリシーのルート条件の名前を取得または設定します。

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

構文

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

value = instance.RootCondition

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

プロパティ値

型: System.String
ポリシーのルート条件を示す String オブジェクトです。

使用例

プロパティの設定

関連項目

参照

Policy クラス

Microsoft.SqlServer.Management.Dmf 名前空間