User.AddToRole 메서드
Adds the database user to the specified role.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
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.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스