从作业中删除客户端证书。
Syntax
HRESULT RemoveClientCertificate();
返回值
下表列出了一些可能的返回值。
| 返回代码 | Description |
|---|---|
|
已成功删除证书。 |
|
作业未指定证书。 |
|
作业的状态不能BG_JOB_STATE_CANCELLED或BG_JOB_STATE_ACKNOWLEDGED。 |
注解
使用 IBackgroundCopyJobHttpOptions::SetClientCertificateByID 或 IBackgroundCopyJobHttpOptions::SetClientCertificateByName 方法指定证书。
要求
| Requirement | 价值 |
|---|---|
| 最低支持的客户端 | Windows Vista |
| 支持的最低服务器 | Windows Server 2008 |
| 目标平台 | Windows操作系统 |
| Header | bits2_5.h (包括 Bits.h) |
| Library | Bits.lib |
另请参阅
IBackgroundCopyJobHttpOptions::GetClientCertificate