User Constructor

Initializes a new instance of the User class.

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
User ()
Initializes a new instance of the User class.
User (Database, String)
Initializes a new instance of the User class on the specified database with the specified name.

请参阅

参考

User Class
User Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Managing Users, Roles, and Logins
主体
CREATE USER (Transact-SQL)