Compartir a través de


Método IBackgroundCopyJobHttpOptions::RemoveClientCertificate (bits2_5.h)

Quita el certificado de cliente del trabajo.

Syntax

HRESULT RemoveClientCertificate();

Valor devuelto

En la tabla siguiente se enumeran algunos de los posibles valores devueltos.

Código de retorno Description
S_OK
Se quitó correctamente el certificado.
S_FALSE
El trabajo no especifica un certificado.
BG_E_INVALID_STATE
El estado del trabajo no puede ser BG_JOB_STATE_CANCELLED ni BG_JOB_STATE_ACKNOWLEDGED.

Observaciones

Use el método IBackgroundCopyJobHttpOptions::SetClientCertificateByID o IBackgroundCopyJobHttpOptions::SetClientCertificateByName para especificar el certificado.

Requisitos

Requirement Importancia
Cliente mínimo compatible Windows Vista
Servidor mínimo admitido Windows Server 2008
de la plataforma de destino de Windows
Header bits2_5.h (include Bits.h)
Library Bits.lib

Consulte también

IBackgroundCopyJobHttpOptions

IBackgroundCopyJobHttpOptions::GetClientCertificate

IBackgroundCopyJobHttpOptions::SetClientCertificateByID

IBackgroundCopyJobHttpOptions::SetClientCertificateByName