SqlInfoMessageEventArgs Classe

Definição

Fornece dados para o evento de InfoMessage .Provides data for the InfoMessage event.

public ref class SqlInfoMessageEventArgs sealed : EventArgs
public sealed class SqlInfoMessageEventArgs : EventArgs
type SqlInfoMessageEventArgs = class
    inherit EventArgs
Public NotInheritable Class SqlInfoMessageEventArgs
Inherits EventArgs
Herança
SqlInfoMessageEventArgs

Comentários

O InfoMessage evento contém uma SqlErrorCollection coleção que contém os avisos enviados do servidor.The InfoMessage event contains a SqlErrorCollection collection which contains the warnings sent from the server.

Um InfoMessage evento é gerado quando um SQL Server mensagem com um nível de severidade de 10 ou menos ocorre.An InfoMessage event is generated when a SQL Server message with a severity level of 10 or less occurs.

Propriedades

Errors

Obtém a coleção de avisos enviados do servidor.Gets the collection of warnings sent from the server.

Message

Obtém o texto completo do erro enviado do banco de dados.Gets the full text of the error sent from the database.

Source

Obtém o nome do objeto que gerou o erro.Gets the name of the object that generated the error.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Recupera uma representação de cadeia de caracteres do evento InfoMessage.Retrieves a string representation of the InfoMessage event.

Aplica-se a