다음을 통해 공유


UserEvents.UnsubscribeFromEvents 메서드

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

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

구문

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

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

매개 변수

SMO 이벤트 처리

참고 항목

참조

UserEvents 클래스

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