다음을 통해 공유


Condition.Parent 속성

Gets or sets the object that is the parent of the referenced object.

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

구문

‘선언
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As PolicyStore 
    Get 
    Set
‘사용 방법
Dim instance As Condition 
Dim value As PolicyStore 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)]
public PolicyStore Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectCardinality::One)]
public:
property PolicyStore^ Parent {
    PolicyStore^ get ();
    void set (PolicyStore^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)>]
member Parent : PolicyStore with get, set
function get Parent () : PolicyStore 
function set Parent (value : PolicyStore)

속성 값

유형: Microsoft.SqlServer.Management.Dmf.PolicyStore
A PolicyStore object that is the parent of the Condition object.

C#

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

VB

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

참고 항목

참조

Condition 클래스

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