Condividi tramite


IDeliveryProtocol.Close Method

Closes the delivery protocol.

Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintassi

'Dichiarazione
Sub Close
void Close ()
void Close ()
void Close ()
function Close ()

Osservazioni

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.

Esempio

For an example of how to implement the Close method, see the IDeliveryProtocol interface topic.

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

IDeliveryProtocol Interface
IDeliveryProtocol Members
Microsoft.SqlServer.NotificationServices Namespace