Aracılığıyla paylaş


ServerEvents.GetTraceEventSelection Method

Returns the currently selected event notifications.

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

Syntax

'Bildirim
Public Function GetTraceEventSelection As ServerTraceEventSet
'Kullanım
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

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
A ServerEventSet object that specifies the set of server events.

Examples

Handling SMO Events

See Also

Reference

ServerEvents Class

Microsoft.SqlServer.Management.Smo Namespace