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)
Syntax
'Deklaracja
Public Sub New ( _
loginName As String, _
dbName As String, _
userName As String _
)
public DatabaseMapping (
string loginName,
string dbName,
string userName
)
public:
DatabaseMapping (
String^ loginName,
String^ dbName,
String^ userName
)
public DatabaseMapping (
String loginName,
String dbName,
String userName
)
public function DatabaseMapping (
loginName : String,
dbName : String,
userName : String
)
Parameters
- loginName
A String value that specifies the login.
- dbName
A String value that specifies the database.
- userName
A String value that specifies the user.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also
Reference
DatabaseMapping Class
DatabaseMapping Members
Microsoft.SqlServer.Management.Smo Namespace