Partilhar via


Método ServerRole.DropMembershipFromRole

Removes a role from the fixed server role membership.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub DropMembershipFromRole ( _
    roleName As String _
)
'Uso
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
)

Parâmetros

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

Consulte também

Referência

ServerRole Classe

Namespace Microsoft.SqlServer.Management.Smo