Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Removes the client certificate from the job.
Syntax
HRESULT RemoveClientCertificate();
Return value
The following table lists some of the possible return values.
| Return code | Description |
|---|---|
|
Successfully removed the certificate. |
|
The job does not specify a certificate. |
|
The state of the job cannot be BG_JOB_STATE_CANCELLED or BG_JOB_STATE_ACKNOWLEDGED. |
Remarks
You use the IBackgroundCopyJobHttpOptions::SetClientCertificateByID or IBackgroundCopyJobHttpOptions::SetClientCertificateByName method to specify the certificate.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | bits2_5.h (include Bits.h) |
| Library | Bits.lib |
See also
IBackgroundCopyJobHttpOptions::GetClientCertificate