Condition.Parent Property

 

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

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)]
public PolicyStore Parent { get; set; }

Property Value

Type: 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()
Return to top
Show: