Udostępnij przez


Właściwość CollectionItem.Parent

Pobiera lub ustawia obiekt nadrzędny w hierarchii modelu obiektów.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Collector
Zestaw:  Microsoft.SqlServer.Management.Collector (w Microsoft.SqlServer.Management.Collector.dll)

Składnia

'Deklaracja
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As CollectionSet
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Collector.CollectionSet
A CollectionSet obiekt, który określa nadrzędnego w hierarchii modelu obiektu.

Uwagi

Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w wersja 2.0 Microsoft .NET Framework.