GetTraceEventSelection méthode
Returns the currently selected event notifications.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function GetTraceEventSelection As ServerTraceEventSet
'Utilisation
Dim instance As ServerEvents
Dim returnValue As ServerTraceEventSet
returnValue = instance.GetTraceEventSelection()
public ServerTraceEventSet GetTraceEventSelection()
public:
ServerTraceEventSet^ GetTraceEventSelection()
member GetTraceEventSelection : unit -> ServerTraceEventSet
public function GetTraceEventSelection() : ServerTraceEventSet
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEventSet
A ServerEventSet object that specifies the set of server events.
Voir aussi