Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BG_JOB_PROXY_USAGE enumeration

The BG_JOB_PROXY_USAGE enumeration defines constant values that specify which proxy to use for file transfers. You can define different proxy settings for each job.

Syntax


typedef enum  { 
  BG_JOB_PROXY_USAGE_PRECONFIG,
  BG_JOB_PROXY_USAGE_NO_PROXY,
  BG_JOB_PROXY_USAGE_OVERRIDE,
  BG_JOB_PROXY_USAGE_AUTODETECT
} BG_JOB_PROXY_USAGE;

Constants

BG_JOB_PROXY_USAGE_PRECONFIG

Use the proxy and proxy bypass list settings defined by each user to transfer files. Settings are user-defined from Control Panel, Internet Options, Connections, Local Area Network (LAN) settings (or Dial-up settings, depending on the network connection).

BG_JOB_PROXY_USAGE_NO_PROXY

Do not use a proxy to transfer files. Use this option when you transfer files within a LAN.

BG_JOB_PROXY_USAGE_OVERRIDE

Use the application's proxy and proxy bypass list to transfer files. Use this option when you cannot trust that the system settings are correct. Also use this option when you want to transfer files using a special account, such as LocalSystem, to which the system settings do not apply.

BG_JOB_PROXY_USAGE_AUTODETECT

Automatically detect proxy settings. BITS detects proxy settings for each file in the job.

BITS 1.5 and earlier:  BG_JOB_PROXY_USAGE_AUTODETECT is not available.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Bits.h

See also

IBackgroundCopyJob::GetProxySettings
IBackgroundCopyJob::SetProxySettings

 

 

Community Additions

ADD
Show:
© 2015 Microsoft