Propriedade do RDL Condition.Parent

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

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As PolicyStore 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Exemplos

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()

Consulte também

Referência

Condition Classe

Namespace Microsoft.SqlServer.Management.Dmf