AddToRole 메서드
Adds the database user to the specified role.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Sub AddToRole ( _
role As String _
)
‘사용 방법
Dim instance As User
Dim role As String
instance.AddToRole(role)
public void AddToRole(
string role
)
public:
void AddToRole(
String^ role
)
member AddToRole :
role:string -> unit
public function AddToRole(
role : String
)
매개 변수
- role
형식: System. . :: . .String
A String value that specifies a database role.