共用方式為


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