LoginCollection.Parent Property

 

Applies To: SQL Server 2016 Preview

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

public Server Parent { get; }
public:
property Server^ Parent {
    Server^ get();
}
member Parent : Server with get
Public ReadOnly Property Parent As Server

Property Value

Type: Microsoft.SqlServer.Management.Smo.Server

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

Examples

Legacy Code Example

Using Collections

See Also

LoginCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top