Freigeben über


DropMember-Methode

Removes a login from the fixed server role membership.

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

Syntax

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

Parameter

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