Поделиться через


Конструктор DatabasePermissionSet (DatabasePermissionSet)

Инициализирует новый экземпляр класса DatabasePermissionSet.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub New ( _
    oDatabasePermissionSet As DatabasePermissionSet _
)
'Применение
Dim oDatabasePermissionSet As DatabasePermissionSet

Dim instance As New DatabasePermissionSet(oDatabasePermissionSet)
public DatabasePermissionSet(
    DatabasePermissionSet oDatabasePermissionSet
)
public:
DatabasePermissionSet(
    DatabasePermissionSet^ oDatabasePermissionSet
)
new : 
        oDatabasePermissionSet:DatabasePermissionSet -> DatabasePermissionSet
public function DatabasePermissionSet(
    oDatabasePermissionSet : DatabasePermissionSet
)

Параметры

Замечания

The DatabasePermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).