This topic has not yet been rated - Rate this topic

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 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Redistributable

Windows Management Framework on Windows Server 2008 with SP2

Namespace

\root\microsoft\bits

MOF

BitsProvider.mof

See also

BitsClientJob

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.