Condition.Parent プロパティ

参照先オブジェクトの親であるオブジェクトを取得または設定します。

名前空間:  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
Condition オブジェクトの親である PolicyStore オブジェクトです。

使用例

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 名前空間