Condividi tramite


Metodo DropMember

Removes a login from the fixed server role membership.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub DropMember ( _
    loginname As String _
)
'Utilizzo
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
)

Parametri

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