StatisticEvents Members

The StatisticEvents object represents the settings required for Microsoft SQL Server statistic counter event notification.

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

Public Methods

(see also Protected Methods )

  Name Description
ms220389.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220389.pubmethod(en-US,SQL.90).gif GetEventSelection Returns the currently selected event notifications.
ms220389.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220389.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220389.pubmethod(en-US,SQL.90).gifms220389.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220389.pubmethod(en-US,SQL.90).gif StartEvents Starts receiving events.
ms220389.pubmethod(en-US,SQL.90).gif StopEvents Stops receiving events.
ms220389.pubmethod(en-US,SQL.90).gif SubscribeToEvents Overloaded. Specifies the statistic counter events to receive.
ms220389.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )
ms220389.pubmethod(en-US,SQL.90).gif UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
ms220389.pubmethod(en-US,SQL.90).gif UnsubscribeFromEvents Clears the specified event settings, and removes all event handlers.

Top

Protected Methods

  Name Description
ms220389.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220389.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

Public Events

  Name Description
ms220389.pubevent(en-US,SQL.90).gif ServerEvent Specifies the event raised when an event occurs in Statistic object and the user has subscribed to the events from that object instance.

Top

See Also

Reference

StatisticEvents Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events