IDataObject.DUnadvise(Int32) Method

Definition

Destroys a notification connection that was created by an earlier call to the DAdvise(IntPtr, Int32, IntPtr, Int32) method.

public:
 int DUnadvise(int a);
public int DUnadvise (int a);
abstract member DUnadvise : int -> int
Public Function DUnadvise (a As Integer) As Integer

Parameters

a
Int32

The connection to destroy.

Returns

Return value Description
S_OK The DUnadvise method successfully deleted the specified connection.
OLE_E_NOCONNECTION The specified connection is not a valid connection.
OLE_E_ADVISENOTSUPPORTED The object does not support change notification.

Remarks

For more information about programming with the IDataObject interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Applies to