共用方式為


Parent 屬性

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

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

語法

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

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

範例

使用集合