共用方式為


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).