Login Constructor (Server, String)
SQL Server 2012
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)
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.
