共用方式為


RegisteredServerCollection.Parent 屬性

Gets the ServerGroup object that is the parent of the RegisteredServerCollection object.

命名空間:  Microsoft.SqlServer.Management.Smo.RegisteredServers
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public ReadOnly Property Parent As ServerGroup 
    Get
'用途
Dim instance As RegisteredServerCollection 
Dim value As ServerGroup 

value = instance.Parent
public ServerGroup Parent { get; }
public:
property ServerGroup^ Parent {
    ServerGroup^ get ();
}
member Parent : ServerGroup
function get Parent () : ServerGroup

屬性值

型別:Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup
A ServerGroup object that is the parent of the RegisteredServerCollection object.

範例

使用集合

請參閱

參考

RegisteredServerCollection 類別

Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空間

其他資源

使用集合