Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Disconnects an IConnectableCredentialProviderCredential object.
Syntax
HRESULT Disconnect();
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | credentialprovider.h |