Freigeben über


Parent-Eigenschaft

Gets the parent of the RegisteredServer object.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As ServerGroup
    Get
    Set
'Usage
Dim instance As RegisteredServer
Dim value As ServerGroup

value = instance.Parent

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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroup
A ServerGroup value that specifies the parent of the referenced object.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.