Compartilhar via


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

Remove o certificado do cliente do trabalho.

Sintaxe

HRESULT RemoveClientCertificate();

Valor de retorno

A tabela a seguir lista alguns dos possíveis valores retornados.

Código de retorno Description
S_OK
O certificado foi removido com êxito.
S_FALSE
O trabalho não especifica um certificado.
BG_E_INVALID_STATE
O estado do trabalho não pode ser BG_JOB_STATE_CANCELLED ou BG_JOB_STATE_ACKNOWLEDGED.

Observações

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

Requirements

Requirement Value
Cliente mínimo suportado Windows Vista
Servidor mínimo compatível Windows Server 2008
da Plataforma de Destino Windows
Header bits2_5.h (incluir Bits.h)
Library Bits.lib

Consulte também

IBackgroundCopyJobHttpOptions

IBackgroundCopyJobHttpOptions::GetClientCertificate

IBackgroundCopyJobHttpOptions::SetClientCertificateByID

IBackgroundCopyJobHttpOptions::SetClientCertificateByName