ServerRole.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 ( _
memberName As String _
)
'Usage
Dim instance As ServerRole
Dim memberName As String
instance.DropMember(memberName)
public void DropMember(
string memberName
)
public:
void DropMember(
String^ memberName
)
member DropMember :
memberName:string -> unit
public function DropMember(
memberName : String
)
Parameter
- memberName
Typ: System.String
A String value that specifies the login that is to be removed from the fixed server role membership.
Beispiele
Verwalten von Benutzern, Rollen und Anmeldungen
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace