共用方式為


ObjectPermissionSet 建構 (ObjectPermission)

Initializes a new instance of the ObjectPermissionSet class based on the specified object permission.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    permission As ObjectPermission _
)
'用途
Dim permission As ObjectPermission

Dim instance As New ObjectPermissionSet(permission)
public ObjectPermissionSet(
    ObjectPermission permission
)
public:
ObjectPermissionSet(
    ObjectPermission^ permission
)
new : 
        permission:ObjectPermission -> ObjectPermissionSet
public function ObjectPermissionSet(
    permission : ObjectPermission
)

參數