Aracılığıyla paylaş


ObjectPermissionSet Constructor (array<ObjectPermission )

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

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

Syntax

'Bildirim
Public Sub New ( _
    ParamArray permissions As ObjectPermission() _
)
'Kullanım
Dim permissions As ObjectPermission()

Dim instance As New ObjectPermissionSet(permissions)
public ObjectPermissionSet(
    params ObjectPermission[] permissions
)
public:
ObjectPermissionSet(
    ... array<ObjectPermission^>^ permissions
)
new : 
        permissions:ObjectPermission[] -> ObjectPermissionSet
public function ObjectPermissionSet(
    ... permissions : ObjectPermission[]
)

Parameters

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

ObjectPermissionSet Class

ObjectPermissionSet Overload

Microsoft.SqlServer.Management.Smo Namespace