Export (0) Print
Expand All

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

ADD
Show:
© 2014 Microsoft