IDeliveryProtocol.Close Method

Closes the delivery protocol.

命名空间: Microsoft.SqlServer.NotificationServices
程序集: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

语法

声明
Sub Close
void Close ()
void Close ()
void Close ()
function Close ()

备注

The distributor calls this method to cause the delivery protocol to shut down. You should release any resources held by the delivery protocol when you implement this method.

If the delivery protocol implements asynchronous delivery and there are outstanding requests at the time Close is called, these requests must be either completed or aborted before Close returns.

示例

For an example of how to implement the Close method, see the IDeliveryProtocol interface 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 的硬件和软件要求。

请参阅

参考

IDeliveryProtocol Interface
IDeliveryProtocol Members
Microsoft.SqlServer.NotificationServices Namespace