다음을 통해 공유


RootCondition 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf.dll의 Microsoft.SqlServer.Dmf

구문

‘선언
<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 버전에서만 지원됩니다.

예제

속성 설정