AuditActionType Enumeración
The AuditActionType enumeration contains values that are used to specify the audit action types.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Sintaxis
'Declaración
Public Enumeration AuditActionType
'Uso
Dim instance As AuditActionType
public enum AuditActionType
public enum class AuditActionType
type AuditActionType
public enum AuditActionType
Miembros
Nombre del miembro | Descripción | |
---|---|---|
ApplicationRoleChangePasswordGroup | The ApplicationRoleChangePasswordGroup action occurs whenever a password is changed for an application role. | |
AuditChangeGroup | The AuditChangeGroup action occurs whenever any audit or audit specification is created, modified, or deleted. Any change to an audit is audited in the same audit. | |
BackupRestoreGroup | The BackupRestoreGroup action occurs whenever a backup or restore operation is performed. | |
BrokerLoginGroup | The BrokerLoginGroup action occurs when any Service Broker login operation is performed. | |
DatabaseChangeGroup | The DatabaseChangeGroup action occurs when a database is created, altered, or dropped. At the server scope, this action occurs whenever any database is created, altered, or dropped. | |
DatabaseMirroringLoginGroup | ||
DatabaseObjectAccessGroup | The DatabaseObjectAccessGroup action occurs whenever database objects are accessed, such as certificates and asymmetric keys. At the server scope, this action occurs for any object accessed in any database. This can lead to very large audit records. | |
DatabaseObjectChangeGroup | The DatabaseObjectChangeGroup action occurs when a CREATE, ALTER, or DROP statement is executed on database objects such as schemas. At the server scope, the action occurs whenever any database object is created, altered, or dropped. This can lead to very large quantities of audit records. | |
DatabaseObjectOwnershipChangeGroup | The DatabaseObjectOwnershipChangeGroup action occurs when a change of owner for objects within the database scope occurs. At the server scope, this action occurs for any object ownership change on any database. | |
DatabaseObjectPermissionChangeGroup | The DatabaseObjectPermissionChangeGroup action occurs when a GRANT, REVOKE, or DENY statement is issued for database objects, such as assemblies or schemas. At the server scope, this action occurs for any object permission change for any database. | |
DatabaseOperationGroup | The DatabaseOperationGroup action occurs when operation in a database such as checkpoint or subscribe query notification occur. At the server scope, this action occurs on any database action on any database. | |
DatabaseOwnershipChangeGroup | The DatabaseOwnershipChangeGroup action occurs when the ALTER AUTHORIZATION statement is used to change the owner of a database and the permissions required to do that are checked. At the server scope, this action occurs for any database ownership change on any database. | |
DatabasePermissionChangeGroup | The DatabasePermissionChangeGroup action occurs whenever a GRANT, REVOKE, or DENY statement is issued for a statement permission by any user within the scope of the database. At the server scope, this action occurs for any database permission change for any database. | |
DatabasePrincipalChangeGroup | The DatabasePrincipalChangeGroup action occurs when principals such as users, are created, altered, or dropped from a database. At the server scope, this action occurs whenever any database principals are created, altered, or dropped from any database. | |
DatabasePrincipalImpersonationGroup | The DatabasePrincipalImpersonationGroup action occurs when there is an impersonation within the database scope, such as the EXECUTE AS statement executed on a user. | |
DatabaseRoleMemberChangeGroup | The DatabaseRoleMemberChangeGroup action occurs whenever a login is added to or removed from a database role. This action is generated by the sp_addrolemember, sp_changegroup, and sp_droprolemember stored procedures. At the server scope, it is generated for any database role member change to any database. | |
DbccGroup | The DbccGroup action occurs whenever a DBCC command is issued. | |
Delete | The Delete action occurs whenever a DELETE command is issued. | |
Execute | The Execute action occurs whenever an EXECUTE command is issued. | |
FailedLoginGroup | The FailedLoginGroup action indicates that a user tried to log in to the instance of SQL Server and failed. Events in this class are fired by new connections or connection that are reused from the connection pool. | |
FullTextGroup | ||
Insert | The Insert action occurs whenever an INSERT command is issued. | |
LoginChangePasswordGroup | The LoginChangePasswordGroup action occurs whenever a login password is changed by using the ALTER LOGIN or M:Microsoft.SqlServer.Management.Smo.Login.Alter method. | |
LogoutGroup | The LogoutGroup action indicates that a user has logged out of the instance of SQL Server. Events in this class are fired by new connections or connections that are reused from the connection pool. | |
Receive | The Receive action occurs whenever a RECEIVE command is issued. | |
References | The References action occurs whenever a REFERENCES permission is checked. | |
SchemaObjectAccessGroup | The SchemaObjectAccessGroup action occurs when a schema object is accessed. At the server scope, this action occurs whenever any schema object is accessed on any database. | |
SchemaObjectChangeGroup | The SchemaObjectChangeGroup action occurs when a CREATE, ALTER, or DROP statement is issued on schema objects, such as tables or views. At the server scope, this action occurs whenever any schema of any database object changes. | |
SchemaObjectOwnershipChangeGroup | The SchemaObjectOwnershipChangeGroup action occurs when the permissions to change the owner of schema object, such as a table or a view, are selected. This action occurs when the ALTER AUTHORIZATION statement is used to assign an owner to an object. At the server scope, this action occurs for any schema ownership change for any database. | |
SchemaObjectPermissionChangeGroup | The SchemaObjectPermissionChangeGroup action occurs whenever a GRANT, REVOKE, or DENY statement is issued on a schema object. | |
Select | The Select action occurs whenever a SELECT command is issued. | |
ServerObjectChangeGroup | The ServerObjectChangeGroup action occurs when a CREATE, ALTER, or DROP statement is issued for any server object. | |
ServerObjectOwnershipChangeGroup | The ServerObjectOwnershipChangeGroup action occurs when the owner is changed for objects in the server scope. | |
ServerObjectPermissionChangeGroup | The ServerObjectPermissionChangeGroup action occurs whenever a GRANT, REVOKE, or DENY statement is issued for a server object permission by any user. | |
ServerOperationGroup | The ServerOperationGroup action occurs when security audit operations, such as altering settings, resources, external access, or authorization, are used. | |
ServerPermissionChangeGroup | The ServerPermissionChangeGroup action occurs when a GRANT, REVOKE, or DENY statement is issued for permission in the server scope, such as creating a login. | |
ServerPrincipalChangeGroup | The ServerPrincipalChangeGroup action occurs when server principals are created, altered, or dropped. This action is generated by the sp_defaultdb, sp_defaultlanguage stored procedures, and the ALTER LOGIN statement. | |
ServerPrincipalImpersonationGroup | The ServerPrincipalImpersonationGroup action occurs when there is an impersonation within the server scope, such as an EXECUTE AS statement executed on a login. | |
ServerRoleMemberChangeGroup | The ServerRoleMemberChangeGroup action occurs whenever a login is added or removed from a fixed server role. This action is generated by sp_addsrvrole and sp_dropsrvrolemember stored procedures. | |
ServerStateChangeGroup | The ServerStateChangeGroup action occurs when the SQL Server service is modified. | |
SuccessfulLoginGroup | The SuccessfulLoginGroup action indicates that a user has successfully logged in to the instance of SQL Server. Events in this class are fired by new connections or by connections that are reused from the connection pool. | |
TraceChangeGroup | The TraceChangeGroup action occurs whenever a Trace operation is performed. | |
Update | The Update action occurs whenever an UPDATE command is issued. |
Notas
The AuditActionType enumeration class is served by the Action()()()() property.