Partager via


Propriété Parent

Obtient ou définit l'objet parent dans la hiérarchie du modèle objet.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Collector. . :: . .CollectionSet
Objet CollectionSet qui spécifie le parent dans la hiérarchie de modèle objet.

Notes

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