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.