Previous in Contents Next in Contents

SetProxySettings Method

This method specifies the proxy configuration.

Syntax

IBuildServer.SetProxySettings(Usage, Server, Port, BypassLocal, BypassAddresses)

Parameters

Usage

The proxy server configuration. Search sets the ProxyUsageSettingproperty to this value:

0

Use the default system proxy server.

1

Do not use a proxy server.

2

Use the proxy server specified by Server.

Server

The name of the proxy server through which Search operates. Search sets the ProxyAddressproperty to this value.

Port

The port on the proxy server to which Search connects. By default this is 80. Search sets the ProxyPortNumberproperty to this value.

BypassLocal

Whether the proxy server is bypassed for local addresses. Search sets the ProxyBypassForLocalAddressesproperty to this value.

0

Use the proxy server for local addresses.

1

Bypass the proxy server for local addresses.

BypassAddresses

The addresses for which the proxy server is bypassed. If more than one address, the addresses must be separated by semicolons (;). Search sets the ProxyBypassAddressesListproperty to this value.

Example

See Accessing an IBuildServer Interface Object.


© 1997-2000 Microsoft Corporation. All rights reserved.