Condividi tramite


Metodo ServerEvents.SubscribeToEvents

Include i membri protetti
Include i membri ereditati

Specifies the server events to receive.

Questo membro è sottoposto a overload. Per informazioni complete su questo membro, inclusi sintassi, utilizzo ed esempi, fare clic su un nome nell'elenco di overload.

Elenco degli overload

  Nome Descrizione
Metodo pubblico SubscribeToEvents(ServerEventSet) Specifies the server events to receive.
Metodo pubblico SubscribeToEvents(ServerTraceEventSet) Specifies the server trace events to receive.
Metodo pubblico SubscribeToEvents(ServerEventSet, ServerEventHandler) Specifies the server events to receive and the event handler that handles the events.
Metodo pubblico SubscribeToEvents(ServerTraceEventSet, ServerEventHandler) Specifies the server trace events to receive and the event handler that handles the events.

In alto

Vedere anche

Riferimento

ServerEvents Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo