IDataAdviseHolder::Unadvise
Removes a
connection between a data object and an advisory sink that was set up through a
previous call to IDataAdviseHolder::Advise
HRESULT Unadvise(
DWORD dwConnection |
//Connection to remove |
); |
|
Parameter
dwConnection
[in] DWORD
token that specifies the connection to remove. This value was returned by IDataAdviseHolder::Advise
Return Values
S_OK
The specified
connection was successfully deleted.
OLE_E_NOCONNECTION
The specified
dwConnection is not a valid connection.
See Also