Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DatabaseMapping Constructor
Collapse the table of content
Expand the table of content

DatabaseMapping Constructor

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: String
A String value that specifies the login.
dbName
Type: String
A String value that specifies the database.
userName
Type: String
A String value that specifies the user.

Community Additions

ADD
Show:
© 2015 Microsoft