ServerRole.DropMember Method
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
)
Parameters
- memberName
Type: System.String
A String value that specifies the login that is to be removed from the fixed server role membership.
Examples
Managing Users, Roles, and Logins
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace