Condividi tramite


Metodo StatisticEvents.GetEventSelection

Returns the currently selected event notifications.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function GetEventSelection As ObjectEventSet
'Utilizzo
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

Valore restituito

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

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

StatisticEvents Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo