Dela via


StatisticEvents.GetEventSelection Method

Returns the currently selected event notifications.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function GetEventSelection As ObjectEventSet
'Usage
Dim instance As StatisticEvents
Dim returnValue As ObjectEventSet

returnValue = instance.GetEventSelection()
public ObjectEventSet GetEventSelection()
public:
ObjectEventSet^ GetEventSelection()
member GetEventSelection : unit -> ObjectEventSet 
public function GetEventSelection() : ObjectEventSet

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet
A ObjectEventSet object that specifies the set of statistic counter events.