Compartir a través de


DropMember Método

Removes a login from the fixed server role membership.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub DropMember ( _
    loginname As String _
)
'Uso
Dim instance As ServerRole
Dim loginname As String

instance.DropMember(loginname)
public void DropMember(
    string loginname
)
public:
void DropMember(
    String^ loginname
)
member DropMember : 
        loginname:string -> unit 
public function DropMember(
    loginname : String
)

Parámetros

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