IDataObject.DUnadvise(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.