共用方式為


RootCondition 屬性

Gets or sets the name of the root condition for this policy.

命名空間:  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
A String object that specifies the root condition for the policy.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

設定屬性