Partilhar via


Método DropMember

Removes the specified database user or role from the referenced database role.

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

Sintaxe

'Declaração
Public Sub DropMember ( _
    name As String _
)
'Uso
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
)

Parâmetros

  • name
    Tipo: System. . :: . .String
    A String value that specifies the database user or role to be removed from the referenced database role.