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.