共用方式為


Parent 屬性

Gets the Server object that is the parent of the LoginCollection object.

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

語法

'宣告
Public ReadOnly Property Parent As Server
    Get
'用途
Dim instance As LoginCollection
Dim value As Server

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

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object that is the parent of the LoginCollection object.

範例

使用集合