Partager via


Propriété Parent

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

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

Valeur de propriété

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