Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SetJobState method of the BitsClientJob class

The SetJobState method tries to change the state of a BITS transfer job.

Syntax


uint32 SetJobState(
  [in]  Uint16 JobState
);

Parameters

JobState [in]

Specifies the action used to change the state of the BITS transfer job. The following actions are possible:

ValueMeaning
0

Cancel the job.

1

Complete the job.

2

Resume the job.

3

Suspend the job.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Redistributable

Windows Management Framework on Windows Server 2008 with SP2

Namespace

\root\microsoft\bits

MOF

BitsProvider.mof

See also

BitsClientJob

 

 

Community Additions

Show:
© 2014 Microsoft