Share via


ObjectPermissionSet Constructor (ObjectPermission)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    permission As ObjectPermission _
)
'Usage
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
)

Parameters