Partilhar via


Método AddMember

Adds an existing database user or database role to the database role.

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

Sintaxe

'Declaração
Public Sub AddMember ( _
    name As String _
)
'Uso
Dim instance As DatabaseRole
Dim name As String

instance.AddMember(name)
public void AddMember(
    string name
)
public:
void AddMember(
    String^ name
)
member AddMember : 
        name:string -> unit 
public function AddMember(
    name : String
)

Parâmetros