Export (0) Print
Expand All

IBackgroundCopyJobHttpOptions::RemoveClientCertificate method

Removes the client certificate from the job.

Syntax


HRESULT RemoveClientCertificate();

Parameters

This method has no parameters.

Return value

The following table lists some of the possible return values.

Return codeDescription
S_OK

Successfully removed the certificate.

S_FALSE

The job does not specify a certificate.

BG_E_INVALID_STATE

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Bits2_5.h (include Bits.h)

IDL

Bits2_5.idl

Library

Bits.lib

See also

IBackgroundCopyJobHttpOptions
IBackgroundCopyJobHttpOptions::GetClientCertificate
IBackgroundCopyJobHttpOptions::SetClientCertificateByID
IBackgroundCopyJobHttpOptions::SetClientCertificateByName

 

 

Community Additions

ADD
Show:
© 2015 Microsoft