Share via


ServerEvent Class

The ServerEvent object represents the Microsoft SQL Server server events that can be included in a server event set.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public NotInheritable Class ServerEvent
public sealed class ServerEvent
public ref class ServerEvent sealed
public final class ServerEvent
public final class ServerEvent

Notas

Texto actualizado:

The ServerEvent object contains a property for each event to which the instance of SQL Server can respond. The actual set of events is specified using the ServerEventSet object.

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.ServerEvent

Ejemplo

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

ServerEvent Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Handling SMO Events