Compartir a través de


AddMember Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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