Share via


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. DO detects proxy settings for each file in the job.

Requirements

Minimum supported client

Windows 10, version 1709 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Deliveryoptimization.h

See also

IBackgroundCopyJob::GetProxySettings

IBackgroundCopyJob::SetProxySettings