DatabaseRole.AddMember 메서드
Adds an existing database user or database role to the database role.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
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
)
매개 변수
- name
유형: System.String
A String value that specifies the database user or role to be added to the referenced role.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스