AddMember 方法
Adds an existing database user or database role to the database role.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub AddMember ( _
name As String _
)
用法
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
)
参数
- name
类型:System. . :: . .String
A String value that specifies the database user or role to be added to the referenced role.