IBackgroundCopyJob::Suspend method

Suspends a job. New jobs, jobs that are in error, and jobs that have finished transferring files are automatically suspended.

Syntax


HRESULT Suspend();

Parameters

This method has no parameters.

Return value

This method returns the following HRESULT values, as well as others.

Return codeDescription
S_OK

Successfully suspended the job.

BG_E_INVALID_STATE

The state of the job cannot be BG_JOB_STATE_CANCELLED or BG_JOB_STATE_ACKNOWLEDGED.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Bits.h

IDL

Bits.idl

Library

Bits.lib

DLL

QmgrPrxy.dll

IID

IID_IBackgroundCopyJob is defined as 37668D37-507E-4160-9316-26306D150B12

See also

IBackgroundCopyJob::Cancel
IBackgroundCopyJob::Resume

 

 

Community Additions

ADD
Show:
© 2014 Microsoft