Partager via


Méthode DropMember

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub DropMember ( _
    name As String _
)
'Utilisation
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
)

Paramètres

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