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
)

注释

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