Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the specified database user or role from the referenced database role.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub DropMember ( _
name As String _
)
'Usage
Dim instance As DatabaseRole
Dim name As String
instance.DropMember(name)
public void DropMember(
string name
)
public:
void DropMember(
String^ name
)
member DropMember :
name:string -> unit
public function DropMember(
name : String
)
Parameters
- name
Type: System.String
A String value that specifies the database user or role to be removed from the referenced database role.
Examples
Managing Users, Roles, and Logins
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace