Condividi tramite


Proprietà Parent

Ottiene o imposta l'oggetto padre nella gerarchia del modello a oggetti.

Spazio dei nomi  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Sintassi

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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Collector. . :: . .CollectionSet
Oggetto CollectionSet che specifica il padre nella gerarchia del modello a oggetti.

Osservazioni

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