Поделиться через


Свойство RootCondition

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

Пространство имен:  Microsoft.SqlServer.Management.Dmf
Сборка:  Microsoft.SqlServer.Dmf (в Microsoft.SqlServer.Dmf.dll)

Синтаксис

'Декларация
<SfcReferenceAttribute(GetType(Condition), "PolicyStore/Condition[@Name='{0}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property RootCondition As String
    Get
    Set
'Применение
Dim instance As Policy
Dim value As String

value = instance.RootCondition

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