Condividi tramite


Evento ServerEvent

Specifies the server event handler for remote service binding events.

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

Sintassi

'Dichiarazione
Public Event ServerEvent As ServerEventHandler
'Utilizzo
Dim instance As RemoteServiceBindingEvents
Dim handler As ServerEventHandler

AddHandler instance.ServerEvent, handler
public event ServerEventHandler ServerEvent
public:
 event ServerEventHandler^ ServerEvent {
    void add (ServerEventHandler^ value);
    void remove (ServerEventHandler^ value);
}
member ServerEvent : IEvent<ServerEventHandler,
    ServerEventArgs>
JScript supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.