다음을 통해 공유


GetTraceEventSelection 메서드

Returns the currently selected event notifications.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Function GetTraceEventSelection As ServerTraceEventSet
‘사용 방법
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

반환 값

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