Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
The ServerEventArgs object provides programmatic access to the arguments that are used to report all types of events that occur on an instance of SQL Server.
Hierarquia de herança
System.Object
System.EventArgs
Microsoft.SqlServer.Management.Smo.ServerEventArgs
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public NotInheritable Class ServerEventArgs _
Inherits EventArgs
'Uso
Dim instance As ServerEventArgs
public sealed class ServerEventArgs : EventArgs
public ref class ServerEventArgs sealed : public EventArgs
[<SealedAttribute>]
type ServerEventArgs =
class
inherit EventArgs
end
public final class ServerEventArgs extends EventArgs
O tipo ServerEventArgs expõe os membros a seguir.
Propriedades
| Nome | Descrição | |
|---|---|---|
![]() |
EventType | Gets the type of event. |
![]() |
PostTime | Gets the date and time at which the argument was posted. |
![]() |
Properties | Represents a collection of EventProperty objects. Each EventProperty object represents a property of a server event. |
![]() |
Spid | Gets the server process identifier (SPID) of the event. |
![]() |
SqlInstance | Gets the instance of SQL Server on which the event occurred. |
Início
Métodos
| Nome | Descrição | |
|---|---|---|
![]() |
Equals | (Herdado de Object.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetType | (Herdado de Object.) |
![]() |
ToString | (Herdado de Object.) |
Início
Comentários
Thread Safety
Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.
Exemplos
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
.gif)
.gif)