Méthode AddMember
Adds an existing database user or database role to the database role.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub AddMember ( _
name As String _
)
'Utilisation
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
)
Paramètres
- name
Type : System. . :: . .String
A String value that specifies the database user or role to be added to the referenced role.
Voir aussi