Clase ServerMessageEventArgs
Provides information about a server message event.
Jerarquía de herencia
System. . :: . .Object
System. . :: . .EventArgs
Microsoft.SqlServer.Management.MultiServerConnection..::..ServerMessageEventArgs
Espacio de nombres: Microsoft.SqlServer.Management.MultiServerConnection
Ensamblado: Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)
Sintaxis
'Declaración
Public Class ServerMessageEventArgs _
Inherits EventArgs _
Implements IResultInfo
'Uso
Dim instance As ServerMessageEventArgs
public class ServerMessageEventArgs : EventArgs,
IResultInfo
public ref class ServerMessageEventArgs : public EventArgs,
IResultInfo
type ServerMessageEventArgs =
class
inherit EventArgs
interface IResultInfo
end
public class ServerMessageEventArgs extends EventArgs implements IResultInfo
El tipo ServerMessageEventArgs expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
ServerMessageEventArgs | Initializes a new instance of the ServerMessageEventArgs class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
BatchStartingLine | Gets the starting line of the batch in the editor. |
![]() |
BatchText | Gets the text of the Transact-SQL batch that was executed. |
![]() |
CompletedSuccessfully | Gets true if execution was successful, false if there was an exception. |
![]() |
ConnectionInfo | Gets the connection info of the connection producing the result. |
![]() |
Errors | Gets the messages that were returned by the server. |
![]() |
Exception | Gets the exception that was thrown while executing the Transact-SQL batch. |
![]() |
ExecutionTime | Gets the amount of client wall-time it took to get the result back from the server. |
![]() |
LoginName | Gets the name of the login executing the batch. |
![]() |
ServerDisplayName | Gets the display name of the server where the batch was executed. |
![]() |
ServerName | Gets the name of the server where the batch was executed. |
![]() |
StartTime | Gets the time when the batch was submitted. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
ToString | (Se hereda de Object.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
.gif)
.gif)
.gif)