Partager via


Propriété CollectionItem.Parent

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

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
A CollectionSet object that specifies the parent in the object model hierarchy.

Notes

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

Voir aussi

Référence

CollectionItem Classe

Espace de noms Microsoft.SqlServer.Management.Collector