다음을 통해 공유


CollectionItem.Parent 속성

Gets or sets the parent object in the object model hierarchy.

네임스페이스:  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
A CollectionSet object that specifies the parent in the object model hierarchy.

주의

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

참고 항목

참조

CollectionItem 클래스

Microsoft.SqlServer.Management.Collector 네임스페이스