Поделиться через


Свойство Parent

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

Пространство имен:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Сборка:  Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)

Синтаксис

'Декларация
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As ServerGroup
    Get
    Set
'Применение
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)

Значение свойства

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