다음을 통해 공유


ServerRole.DropMembershipFromRole 메서드

Removes a role from the fixed server role membership.

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

구문

‘선언
Public Sub DropMembershipFromRole ( _
    roleName As String _
)
‘사용 방법
Dim instance As ServerRole 
Dim roleName As String

instance.DropMembershipFromRole(roleName)
public void DropMembershipFromRole(
    string roleName
)
public:
void DropMembershipFromRole(
    String^ roleName
)
member DropMembershipFromRole : 
        roleName:string -> unit
public function DropMembershipFromRole(
    roleName : String
)

매개 변수

  • roleName
    유형: System.String
    A String value that specifies the role that is to be removed from the fixed server role membership.

참고 항목

참조

ServerRole 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스