SqlNotificationInfo Enumeração
Definição
Esta enumeração fornece informações adicionais sobre as diferentes notificações que podem ser recebidas pelo manipulador de eventos de dependência.This enumeration provides additional information about the different notifications that can be received by the dependency event handler.
public enum class SqlNotificationInfo
public enum SqlNotificationInfo
type SqlNotificationInfo =
Public Enum SqlNotificationInfo
- Herança
Campos
| AlreadyChanged | -2 | O objeto |
| Alter | 5 | Um objeto de servidor subjacente relacionado à consulta foi modificado.An underlying server object related to the query was modified. |
| Delete | 3 | Os dados foram alterados por uma instrução DELETE.Data was changed by a DELETE statement. |
| Drop | 4 | Um objeto subjacente relacionado à consulta foi descartado.An underlying object related to the query was dropped. |
| Error | 7 | Ocorreu um erro de servidor interno.An internal server error occurred. |
| Expired | 12 | O objeto |
| Insert | 1 | Os dados foram alterados por uma instrução INSERT.Data was changed by an INSERT statement. |
| Invalid | 9 | Foi fornecida uma instrução que não pode ser notificada (por exemplo, uma instrução UPDATE).A statement was provided that cannot be notified (for example, an UPDATE statement). |
| Isolation | 11 | A instrução foi executada em um modo de isolamento inválido (por exemplo, instantâneo).The statement was executed under an isolation mode that was not valid (for example, Snapshot). |
| Merge | 16 | Usado para distinguir a causa do lado do servidor para um acionamento da notificação de consulta.Used to distinguish the server-side cause for a query notification firing. |
| Options | 10 | As opções SET não foram definidas corretamente no momento da assinatura.The SET options were not set appropriately at subscription time. |
| PreviousFire | 14 | Uma instrução anterior fez com que as notificações de consulta fossem acionadas na transação atual.A previous statement has caused query notifications to fire under the current transaction. |
| Query | 8 | Uma instrução SELECT que não pode ser notificada ou foi fornecida.A SELECT statement that cannot be notified or was provided. |
| Resource | 13 | É acionado como resultado da pressão de recursos do servidor.Fires as a result of server resource pressure. |
| Restart | 6 | O servidor foi reiniciado (as notificações são enviadas durante a reinicialização.).The server was restarted (notifications are sent during restart.). |
| TemplateLimit | 15 | A consulta de assinatura faz com que o número de modelos em uma das tabelas de destino excedesse o limite máximo permitido.The subscribing query causes the number of templates on one of the target tables to exceed the maximum allowable limit. |
| Truncate | 0 | Uma ou mais tabelas foram truncadas.One or more tables were truncated. |
| Unknown | -1 | Usado quando a opção de informações enviada pelo servidor não foi reconhecida pelo cliente.Used when the info option sent by the server was not recognized by the client. |
| Update | 2 | Os dados foram alterados por uma instrução UPDATE.Data was changed by an UPDATE statement. |
Comentários
A SqlNotificationInfo enumeração é referenciada por uma instância da SqlNotificationEventArgs classe.The SqlNotificationInfo enumeration is referenced by an instance of the SqlNotificationEventArgs class.