This topic has not yet been rated - Rate this topic

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()
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.