Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Login Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the Login class.

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

NameDescription
System_CAPS_pubmethodLogin()

Initializes a new instance of the Login class.

System_CAPS_pubmethodLogin(Server, String)

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

Return to top

Login Constructor ()

Initializes a new instance of the Login class.

public Login()

The default constructor initializes any fields to their default values.

Return to top

Login Constructor (Server, String)

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

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: System.String

A String value that specifies the name of the SQL Server login account.

Return to top
Show:
© 2015 Microsoft