Compartir a través de


Parent Propiedad

Gets the ServerGroup object value that specifies the parent of the RegisteredServer object.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ServerGroup
    Get
    Set
'Uso
Dim instance As RegisteredServer
Dim value As ServerGroup

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public ServerGroup Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property ServerGroup^ Parent {
    ServerGroup^ get ();
    void set (ServerGroup^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : ServerGroup with get, set
function get Parent () : ServerGroup
function set Parent (value : ServerGroup)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .ServerGroup
A ServerGroup object that is the parent of the RegisteredServer object.