Partager via


ObjectPermissionInfo Members

The ObjectPermissionInfo object represents information about a Microsoft SQL Server object permission.

The following tables list the members exposed by the ObjectPermissionInfo type.

Public Constructors

  Nom Description
ObjectPermissionInfo Initializes a new instance of the ObjectPermissionInfo class.

Haut de la page

Public Properties

(see also Protected Properties )

  Nom Description
ms219891.pubproperty(fr-fr,SQL.90).gif ColumnName  Gets the name of the column that has permissions granted or denied. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif Grantee  Gets the name of the database user, logon, or database role who has been granted or denied access to the object. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif GranteeType  Gets the type of grantee. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif Grantor  Gets the name of the database user, logon, or database role who granted or denied access to the object. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif GrantorType  Gets the type of grantor. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif ObjectClass  Gets the object class for the object to which permissions have been granted or denied. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif ObjectID  Gets the ID value that uniquely identifies the object to which the permission applies. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif ObjectName  Gets the name of the object to which the permission applies. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif ObjectSchema  Gets the schema of the object to which the permission applies. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif PermissionState  Gets the permission state of the object to which the permission applies, such as whether the permission is granted, denied, granted with grant, or revoked. (inherited from PermissionInfo)
ms219891.pubproperty(fr-fr,SQL.90).gif PermissionType Gets the type of permission.

Haut de la page

Protected Properties

  Nom Description
ms219891.protproperty(fr-fr,SQL.90).gif PermissionTypeInternal  (inherited from PermissionInfo )

Haut de la page

Public Methods

(see also Protected Methods )

  Nom Description
ms219891.pubmethod(fr-fr,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219891.pubmethod(fr-fr,SQL.90).gif GetHashCode  (inherited from Object )
ms219891.pubmethod(fr-fr,SQL.90).gif GetType  (inherited from Object )
ms219891.pubmethod(fr-fr,SQL.90).gifms219891.static(fr-fr,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219891.pubmethod(fr-fr,SQL.90).gif ToString  Returns the object as a String value. (inherited from PermissionInfo)

Haut de la page

Protected Methods

  Nom Description
ms219891.protmethod(fr-fr,SQL.90).gif Finalize  (inherited from Object )
ms219891.protmethod(fr-fr,SQL.90).gif MemberwiseClone  (inherited from Object )

Haut de la page

Voir aussi

Référence

ObjectPermissionInfo Class
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

How to: Grant Server Permissions in Visual Basic .NET
Granting, Revoking, and Denying Permissions