ServerRole.AddMembershipToRole 메서드
Adds a role to the server role membership.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub AddMembershipToRole ( _
roleName As String _
)
‘사용 방법
Dim instance As ServerRole
Dim roleName As String
instance.AddMembershipToRole(roleName)
public void AddMembershipToRole(
string roleName
)
public:
void AddMembershipToRole(
String^ roleName
)
member AddMembershipToRole :
roleName:string -> unit
public function AddMembershipToRole(
roleName : String
)
매개 변수
- roleName
유형: System.String
A String value that specifies the role that is to be added to the server role membership.