UserCollection.Add 方法

Adds a user to the collection.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Add ( _
    user As User _
)
用法
Dim instance As UserCollection 
Dim user As User

instance.Add(user)
public void Add(
    User user
)
public:
void Add(
    User^ user
)
member Add : 
        user:User -> unit
public function Add(
    user : User
)

参数

示例

使用集合

请参阅

参考

UserCollection 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

使用集合