User 생성자 (Database, String)

Initializes a new instance of the User class on the specified database with the specified name.

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

구문

‘선언
Public Sub New ( _
    database As Database, _
    name As String _
)
‘사용 방법
Dim database As Database 
Dim name As String 

Dim instance As New User(database, _
    name)
public User(
    Database database,
    string name
)
public:
User(
    Database^ database, 
    String^ name
)
new : 
        database:Database * 
        name:string -> User
public function User(
    database : Database, 
    name : String
)

매개 변수

사용자, 역할 및 로그인 관리

참고 항목

참조

User 클래스

User 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

보안 주체(데이터베이스 엔진)

CREATE USER(Transact-SQL)