Export (0) Print
Expand All

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft