Export (0) Print
Expand All

Login Constructor (Server, String)

Initializes a new instance of the Login class on the specified instance of SQL Server and with the specified name.

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

public Login(
	Server server,
	string name
)

Parameters

server
Type: Microsoft.SqlServer.Management.Smo.Server
A Server object value that specifies the instance of SQL Server to which the login account has access.
name
Type: String
A String value that specifies the name of the SQL Server login account.

Community Additions

ADD
Show:
© 2014 Microsoft