다음을 통해 공유


ServerEvents.GetTraceEventSelection 메서드

Returns the currently selected event notifications.

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

구문

‘선언
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.

SMO 이벤트 처리

참고 항목

참조

ServerEvents 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스