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)