다음을 통해 공유


Condition.Facet 속성

Gets or sets the facet that is associated with the condition.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Required)> _
Public Property Facet As String 
    Get 
    Set
‘사용 방법
Dim instance As Condition 
Dim value As String 

value = instance.Facet

instance.Facet = value
[SfcPropertyAttribute(SfcPropertyFlags.Required)]
public string Facet { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Required)]
public:
property String^ Facet {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Required)>]
member Facet : string with get, set
function get Facet () : String 
function set Facet (value : String)

속성 값

유형: System.String
A String value that specifies the facet that is associated with the condition.

주의

The facet represents some configuration, setting or limit within the database application structure that can be enforced using Policy-Based Management.

C#

Condition c = new Condition(ps, conditionName);
c.Facet = facet;
c.ExpressionNode = exprNode;
c.Create();

VB

Dim c As Condition
c = New Condition(ps, conditionName)
c.Facet = facet
c.ExpressionNode = exprNode
c.Create()

참고 항목

참조

Condition 클래스

Microsoft.SqlServer.Management.Dmf 네임스페이스