Compartir a través de


CollectionItem.Parent Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Collector
Ensamblado:  Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)

Sintaxis

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

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Collector.CollectionSet
A CollectionSet object that specifies the parent in the object model hierarchy.

Comentarios

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

Vea también

Referencia

CollectionItem Clase

Espacio de nombres Microsoft.SqlServer.Management.Collector