共用方式為


DatabaseRole Constructor

Initializes a new instance of the DatabaseRole class.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

多載清單

名稱 Description
DatabaseRole ()
Initializes a new instance of the DatabaseRole class.
DatabaseRole (Database, String)
Initializes a new instance of the DatabaseRole class.

請參閱

參考

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

其他資源

Managing Users, Roles, and Logins
Database Roles
CREATE ROLE (Transact-SQL)