DatabaseMapping Constructor
Collapse the table of content
Expand the table of content

DatabaseMapping Constructor (String, String, String)

 

Initializes a new instance of the DatabaseMapping class for the specified login, database, and user.

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

public DatabaseMapping(
	string loginName,
	string dbName,
	string userName
)

Parameters

loginName
Type: System.String

A String value that specifies the login.

dbName
Type: System.String

A String value that specifies the database.

userName
Type: System.String

A String value that specifies the user.

Return to top
Show:
© 2016 Microsoft