Unsubscribe

Unsubscribe 1:

The listener is unsubcribed with this method.

Syntax

METHOD Unsubscribe : HRESULT

Unsubscribe 2: Return value

Name

Type

Description

Unsubscribe

HRESULT

Returns S_OK if the method call was successful.

Returns ADS_E_NOTFOUND if the listener was not subscribed.

Otherwise returns HRESULT as the error code.