Condividi tramite


Costruttore ObjectPermissionSet (ObjectPermissionSet)

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    oObjectPermissionSet As ObjectPermissionSet _
)
'Utilizzo
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
)

Parametri

Osservazioni

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

Esempi

Concessione, revoca e negazione delle autorizzazioni

Vedere anche

Riferimento

ObjectPermissionSet Classe

Overload ObjectPermissionSet

Spazio dei nomi Microsoft.SqlServer.Management.Smo