IBackgroundCopyJobHttpOptions::RemoveClientCertificate 方法 (bits2_5.h)

从作业中删除客户端证书。

Syntax

HRESULT RemoveClientCertificate();

返回值

下表列出了一些可能的返回值。

返回代码 Description
S_OK
已成功删除证书。
S_FALSE
作业未指定证书。
BG_E_INVALID_STATE
作业的状态不能BG_JOB_STATE_CANCELLED或BG_JOB_STATE_ACKNOWLEDGED。

注解

使用 IBackgroundCopyJobHttpOptions::SetClientCertificateByIDIBackgroundCopyJobHttpOptions::SetClientCertificateByName 方法指定证书。

要求

Requirement 价值
最低支持的客户端 Windows Vista
支持的最低服务器 Windows Server 2008
目标平台 Windows操作系统
Header bits2_5.h (包括 Bits.h)
Library Bits.lib

另请参阅

IBackgroundCopyJobHttpOptions

IBackgroundCopyJobHttpOptions::GetClientCertificate

IBackgroundCopyJobHttpOptions::SetClientCertificateByID

IBackgroundCopyJobHttpOptions::SetClientCertificateByName