Clase MessageTypeEvents
The MessageTypeEvents object represents the settings required for SQL Server message type event notification.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Management.Smo.Broker..::..MessageTypeEvents
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Broker
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Class MessageTypeEvents
'Uso
Dim instance As MessageTypeEvents
public class MessageTypeEvents
public ref class MessageTypeEvents
type MessageTypeEvents = class end
public class MessageTypeEvents
El tipo MessageTypeEvents expone los siguientes miembros.
Métodos
Nombre | Descripción | |
---|---|---|
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetEventSelection | Returns the currently selected event notifications. |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
StartEvents | Starts receiving events. |
![]() |
StopEvents | Stops receiving events. |
![]() |
SubscribeToEvents(ObjectEventSet) | Specifies the message type events to receive. |
![]() |
SubscribeToEvents(ObjectEventSet, ServerEventHandler) | Specifies the message type events to receive and the event handler that handles the events. |
![]() |
ToString | (Se hereda de Object.) |
![]() |
UnsubscribeAllEvents | Clears all event settings, and removes all event handlers. |
![]() |
UnsubscribeFromEvents | Clears the specified event settings, and removes all event handlers. |
Arriba
Eventos
Nombre | Descripción | |
---|---|---|
![]() |
ServerEvent | Specifies the event raised when an event occurs in ServerEvent object and the user subscribed to the events from that object instance. |
Arriba
Comentarios
Thread Safety
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también