Partager via


IBackgroundCopyJobHttpOptions ::RemoveClientCertificate, méthode (bits2_5.h)

Supprime le certificat client du travail.

Syntaxe

HRESULT RemoveClientCertificate();

Valeur retournée

Le tableau suivant répertorie certaines des valeurs de retour possibles.

Code de retour Descriptif
S_OK
Suppression réussie du certificat.
S_FALSE
Le travail ne spécifie pas de certificat.
BG_E_INVALID_STATE
L’état du travail ne peut pas être BG_JOB_STATE_CANCELLED ou BG_JOB_STATE_ACKNOWLEDGED.

Remarques

Vous utilisez la méthode IBackgroundCopyJobHttpOptions ::SetClientCertificateByID ou IBackgroundCopyJobHttpOptions ::SetClientCertificateByName pour spécifier le certificat.

Spécifications

Requirement Valeur
Client minimum requis Windows Vista
Serveur minimal pris en charge Windows Server 2008
plateforme cible Fenêtres
Header bits2_5.h (include Bits.h)
Library Bits.lib

Voir aussi

IBackgroundCopyJobHttpOptions

IBackgroundCopyJobHttpOptions ::GetClientCertificate

IBackgroundCopyJobHttpOptions ::SetClientCertificateByID

IBackgroundCopyJobHttpOptions ::SetClientCertificateByName