Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.