Delen via


RegisteredServer.Parent Property

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)

Property Value

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

Remarks

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

See Also

Reference

RegisteredServer Class

Microsoft.SqlServer.Management.RegisteredServers Namespace