IConnectableCredentialProviderCredential::Disconnect method

Disconnects an IConnectableCredentialProviderCredential object.

Syntax


HRESULT Disconnect();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

After a successful call to Connect, the Logon UI displays a Disconnect button to the user. If the user clicks Disconnect, the Logon UI calls Disconnect on every credential provider that implements IConnectableCredentialProviderCredential.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Credentialprovider.h

IDL

Credentialprovider.idl

 

 

Show: