Конструктор ObjectPermissionSet (ObjectPermissionSet)
Initializes a new instance of the ObjectPermissionSet class based on the specified set of object permissions.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub New ( _
oObjectPermissionSet As ObjectPermissionSet _
)
'Применение
Dim oObjectPermissionSet As ObjectPermissionSet
Dim instance As New ObjectPermissionSet(oObjectPermissionSet)
public ObjectPermissionSet(
ObjectPermissionSet oObjectPermissionSet
)
public:
ObjectPermissionSet(
ObjectPermissionSet^ oObjectPermissionSet
)
new :
oObjectPermissionSet:ObjectPermissionSet -> ObjectPermissionSet
public function ObjectPermissionSet(
oObjectPermissionSet : ObjectPermissionSet
)
Параметры
- oObjectPermissionSet
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionSet
An ObjectPermissionSet object that specifies a set of permissions.
Замечания
The ObjectPermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).