IIdentityProvider::UnAdvise method (identityprovider.h)

The UnAdvise method deletes a connection created by calling the Advise method.

Syntax

HRESULT UnAdvise(
  [in] const DWORD dwCookie
);

Parameters

[in] dwCookie

A value that identifies the connection to delete.

Return value

If the method succeeds, it returns S_OK.

If the method fails, it returns an error code. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header identityprovider.h

See also

Advise

IIdentityProvider