Partager via


ServiceContractEvents Members

The ServiceContractEvents object represents the settings required for Microsoft SQL Server service contract event notification.

The following tables list the members exposed by the ServiceContractEvents type.

Public Methods

(see also Protected Methods )

  Nom Description
ms219286.pubmethod(fr-fr,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219286.pubmethod(fr-fr,SQL.90).gif GetEventSelection Returns the currently selected event notifications.
ms219286.pubmethod(fr-fr,SQL.90).gif GetHashCode  (inherited from Object )
ms219286.pubmethod(fr-fr,SQL.90).gif GetType  (inherited from Object )
ms219286.pubmethod(fr-fr,SQL.90).gifms219286.static(fr-fr,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219286.pubmethod(fr-fr,SQL.90).gif StartEvents Starts receiving events.
ms219286.pubmethod(fr-fr,SQL.90).gif StopEvents Stops receiving events.
ms219286.pubmethod(fr-fr,SQL.90).gif SubscribeToEvents Overloaded. Specifies the service contract events to receive.
ms219286.pubmethod(fr-fr,SQL.90).gif ToString  (inherited from Object )
ms219286.pubmethod(fr-fr,SQL.90).gif UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
ms219286.pubmethod(fr-fr,SQL.90).gif UnsubscribeFromEvents Clears the specified event settings, and removes all event handlers.

Haut de la page

Protected Methods

  Nom Description
ms219286.protmethod(fr-fr,SQL.90).gif Finalize  (inherited from Object )
ms219286.protmethod(fr-fr,SQL.90).gif MemberwiseClone  (inherited from Object )

Haut de la page

Public Events

  Nom Description
ms219286.pubevent(fr-fr,SQL.90).gif ServerEvent Specifies the event raised when an event occurs in ServiceContract object and the user subscribed to the events from that object instance.

Haut de la page

Voir aussi

Référence

ServiceContractEvents Class
Microsoft.SqlServer.Management.Smo.Broker Namespace

Autres ressources

Managing Service Broker
Présentation de Service Broker