Condividi tramite


Proprietà RegisteredServer.Parent

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Sintassi

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

Valore proprietà

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

Vedere anche

Riferimento

RegisteredServer Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.RegisteredServers

Altre risorse

Gestione dei server registrati