共用方式為


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)