다음을 통해 공유


AddMember 메서드

Adds an existing database user or database role to the database role.

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

구문

‘선언
Public Sub AddMember ( _
    name As String _
)
‘사용 방법
Dim instance As DatabaseRole
Dim name As String

instance.AddMember(name)
public void AddMember(
    string name
)
public:
void AddMember(
    String^ name
)
member AddMember : 
        name:string -> unit 
public function AddMember(
    name : String
)

매개 변수