Compartir a través de


ObjectPermissionSet Miembros

The ObjectPermissionSet object represents a set of object permissions in Microsoft SQL Server.

El tipo ObjectPermissionSet expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico ObjectPermissionSet() () () () Initializes a new instance of the ObjectPermissionSet class.
Método publico ObjectPermissionSet(ObjectPermission) Initializes a new instance of the ObjectPermissionSet class based on the specified object permission.
Método publico ObjectPermissionSet(array<ObjectPermission> [] () [] []) Initializes a new instance of the ObjectPermissionSet class based on the specified set of object permissions.
Método publico ObjectPermissionSet(ObjectPermissionSet) Initializes a new instance of the ObjectPermissionSet class based on the specified set of object permissions.

Principio

Métodos

  Nombre Descripción
Método publico Add(ObjectPermission) Returns an object permission set after adding a new object permission to the referenced permission set.
Método publicoMiembro estático Add(ObjectPermissionSet, ObjectPermission) Returns an object permission set after adding a new object permission to the referenced permission set.
Método publico Equals Determines whether the referenced object permission object is equal to a specified object. (Invalida PermissionSetBase. . :: . .Equals(Object).)
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (Invalida PermissionSetBase. . :: . .GetHashCode() () () ().)
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico Remove Removes a permission from the permission set.
Método publicoMiembro estático Subtract Creates an object permission set by performing a subtraction operation on an IObjectPermission object and an ObjectPermissionSet object.
Método publico ToString Returns the string value that represents the specified PermissionSetBase object. (Se hereda de PermissionSetBase).

Principio

Operadores

  Nombre Descripción
Operador públicoMiembro estático Addition Creates an object permission set by performing an addition operation on an ObjectPermission object and an ObjectPermissionSet object.
Operador públicoMiembro estático Equality Determines whether two objects are equal by performing an equality operation on two ObjectPermissionSet objects.
Operador públicoMiembro estático Inequality Determines whether two objects are unequal by performing an inequality operation on two ObjectPermissionSet objects.
Operador públicoMiembro estático Subtraction Creates an object permission set by performing a subtraction operation on an IObjectPermission object and an ObjectPermissionSet object.

Principio

Propiedades

  Nombre Descripción
Propiedad pública Alter Gets or sets the Boolean property value that specifies whether to include the ALTER permission in the permission set. The permission lets the grantee change properties, except ownership, of the object.
Propiedad pública Connect Gets or sets the Boolean property value that specifies whether to include the CONNECT permission in the permission set. The permission lets the grantee create a connection between the object and an instance of SQL Server.
Propiedad pública Control Gets or sets the Boolean property value that specifies whether to include the CONTROL permission in the permission set. The permission gives the grantee full control over the object, including all defined permissions for the object, the ability to create permissions on the object, and full control over child objects.
Propiedad pública Delete Gets or sets the Boolean property value that specifies whether to include the DELETE permission in the permission set. The permission lets the grantee delete the object.
Propiedad pública Execute Gets or sets the Boolean property value that specifies whether to include the EXECUTE permission in the permission set. The permission lets the grantee execute the object.
Propiedad pública Impersonate Gets or sets the Boolean property value that specifies whether to include the IMPERSONATE permission in the permission set. The permission lets the grantee impersonate the user or the login.
Propiedad pública Insert Gets or sets the Boolean property value that specifies whether to include the INSERT permission in the permission set. The permission lets the grantee insert data into the object.
Propiedad pública Receive Gets or sets the Boolean property value that specifies whether to include the RECEIVE permission in the permission set. The permission lets the grantee receive messages from a Service Broker queue.
Propiedad pública References Gets or sets the Boolean property value that specifies whether to include the REFERENCES permission in the permission set. This permission lets the grantee reference data in the object.
Propiedad pública Select Gets or sets the Boolean property value that specifies whether to include the SELECT permission in the permission set. This permission lets the grantee retrieve data from the object.
Propiedad pública Send Gets or sets the Boolean property value that specifies whether to include the SEND permission in the permission set. This permission lets the grantee send messages to a Service Broker service.
Propiedad pública TakeOwnership Gets or sets the Boolean property value that specifies whether to include the TAKE OWNERSHIP permission in the permission set. This permission lets the grantee take ownership of the object.
Propiedad pública Update Gets or sets the Boolean property value that specifies whether to include the UPDATE permission in the permission set. This permission lets the grantee modify data in the object.
Propiedad pública ViewChangeTracking Gets or sets the Boolean property value that specifies whether to include the VIEW CHANGE TRACKING permission in the permission set. This permission lets the grantee view the tracking information for a database object.
Propiedad pública ViewDefinition Gets or sets the Boolean property value that specifies whether to include the VIEW DEFINITION permission in the permission set. This permission lets the grantee view the metadata that defines the object.

Principio