다음을 통해 공유


DatabaseMapping 생성자

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub New ( _
    loginName As String, _
    dbName As String, _
    userName As String _
)
‘사용 방법
Dim loginName As String
Dim dbName As String
Dim userName As String

Dim instance As New DatabaseMapping(loginName, _
    dbName, userName)
public DatabaseMapping(
    string loginName,
    string dbName,
    string userName
)
public:
DatabaseMapping(
    String^ loginName, 
    String^ dbName, 
    String^ userName
)
new : 
        loginName:string * 
        dbName:string * 
        userName:string -> DatabaseMapping
public function DatabaseMapping(
    loginName : String, 
    dbName : String, 
    userName : String
)

매개 변수