Udostępnij za pośrednictwem


Właściwość Policy.RootCondition

Pobiera lub ustawia nazwę warunku głównego dla tej zasady.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
<SfcReferenceAttribute(GetType(Condition), "PolicyStore/Condition[@Name='{0}']",  _
    )> _
Public Property RootCondition As String
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System.String
A String obiekt, który określa warunek głównych zasad.