共用方式為


Parent 屬性

取得或設定物件模型階層中的父物件。

命名空間:  Microsoft.SqlServer.Management.Collector
組件:  Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As CollectionSet
    Get
    Set
'用途
Dim instance As CollectionItem
Dim value As CollectionSet

value = instance.Parent

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

屬性值

型別:Microsoft.SqlServer.Management.Collector. . :: . .CollectionSet
CollectionSet 物件,指定物件模型階層中的父系。

備註

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.