IEventProvider.Terminate Method
Stops and disables the event provider.
네임스페이스: Microsoft.SqlServer.NotificationServices
어셈블리: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)
구문
‘선언
Sub Terminate
void Terminate ()
void Terminate ()
void Terminate ()
function Terminate ()
주의
The provider host calls this method to stop and disable the event provider.
In the Terminate method, the event provider must stop collecting new events, write any pending events to the application database, release any resources it is holding, and return from the Terminate method call.
If the event provider does not return from the Terminate method call within one minute, the provider host stops the event provider unconditionally.
If the Terminate method fails to handle an exception, the provider host logs the unhandled error, and the event provider is terminated.
To start collecting events again, enable the event provider.
예
For an example of how to implement the Terminate method, see the IEventProvider topic.
스레드 보안
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
IEventProvider Interface
IEventProvider Members
Microsoft.SqlServer.NotificationServices Namespace