Condividi tramite


ServiceQueueEvents.ServerEvent Event

Specifies the event raised when an event occurs in ServiceQueue object and the user subscribed to the events from that object instance.

Spazio dei nomi: Microsoft.SqlServer.Management.Smo.Broker
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Event ServerEvent As ServerEventHandler
public event ServerEventHandler ServerEvent
public:
event ServerEventHandler^ ServerEvent {
    void add (ServerEventHandler^ value);
    void remove (ServerEventHandler^ value);
}
/** @event */
public void add_ServerEvent (ServerEventHandler value)

/** @event */
public void remove_ServerEvent (ServerEventHandler value)
JScript non supporta la dichiarazione di nuovi eventi ma ne supporta l'utilizzo.

Esempio

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

Osservazioni

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

ServiceQueueEvents Class
ServiceQueueEvents Members
Microsoft.SqlServer.Management.Smo.Broker Namespace

Altre risorse

Handling SMO Events