ApplicationRole Constructor (Database, String)
Initializes a new instance of the ApplicationRole class.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Синтаксис
'Декларация
Public Sub New ( _
database As Database, _
name As String _
)
public ApplicationRole (
Database database,
string name
)
public:
ApplicationRole (
Database^ database,
String^ name
)
public ApplicationRole (
Database database,
String name
)
public function ApplicationRole (
database : Database,
name : String
)
Параметры
- database
A Database object value that specifies the database to which the application role belongs.
- name
A String value that specifies the name of the application role.
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
ApplicationRole Class
ApplicationRole Members
Microsoft.SqlServer.Management.Smo Namespace
Другие ресурсы
Managing Users, Roles, and Logins
Роли приложений
CREATE APPLICATION ROLE (Transact-SQL)