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
Nombre | Description | |
---|---|---|
ObjectPermissionInfo | Initializes a new instance of the ObjectPermissionInfo class. |
Arriba
Public Properties
(see also Protected Properties )
Nombre | Description | |
---|---|---|
ColumnName | Gets the name of the column that has permissions granted or denied. (inherited from PermissionInfo) | |
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) | |
GranteeType | Gets the type of grantee. (inherited from PermissionInfo) | |
Grantor | Gets the name of the database user, logon, or database role who granted or denied access to the object. (inherited from PermissionInfo) | |
GrantorType | Gets the type of grantor. (inherited from PermissionInfo) | |
ObjectClass | Gets the object class for the object to which permissions have been granted or denied. (inherited from PermissionInfo) | |
ObjectID | Gets the ID value that uniquely identifies the object to which the permission applies. (inherited from PermissionInfo) | |
ObjectName | Gets the name of the object to which the permission applies. (inherited from PermissionInfo) | |
ObjectSchema | Gets the schema of the object to which the permission applies. (inherited from PermissionInfo) | |
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) | |
PermissionType | Gets the type of permission. |
Arriba
Protected Properties
Nombre | Description | |
---|---|---|
PermissionTypeInternal | (inherited from PermissionInfo ) |
Arriba
Public Methods
(see also Protected Methods )
Nombre | Description | |
---|---|---|
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
ToString | Returns the object as a String value. (inherited from PermissionInfo) |
Arriba
Protected Methods
Nombre | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Arriba
Vea también
Referencia
ObjectPermissionInfo Class
Microsoft.SqlServer.Management.Smo Namespace
Otros recursos
How to: Grant Server Permissions in Visual Basic .NET
Granting, Revoking, and Denying Permissions