다음을 통해 공유


UnsubscribeFromEvents 메서드 (ServerTraceEventSet)

Clears the specified event settings, and removes all event handlers.

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

구문

‘선언
Public Sub UnsubscribeFromEvents ( _
    events As ServerTraceEventSet _
)
‘사용 방법
Dim instance As ServerEvents
Dim events As ServerTraceEventSet

instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
    ServerTraceEventSet events
)
public:
void UnsubscribeFromEvents(
    ServerTraceEventSet^ events
)
member UnsubscribeFromEvents : 
        events:ServerTraceEventSet -> unit 
public function UnsubscribeFromEvents(
    events : ServerTraceEventSet
)

매개 변수