BypassLocalServers Property of the IFPCClientAutoScript Interface
The BypassLocalServers property gets or sets a Boolean value that indicates whether Web browsers configured to use the default automatic configuration script will bypass the Web proxy for requests sent to non-dotted names.
C++
HRESULT put_BypassLocalServers(
VARIANT_BOOL fBypass
);
HRESULT get_BypassLocalServers(
VARIANT_BOOL* pfBypass
);
Parameters
fBypass
Boolean value that indicates whether Web browsers configured to use the default automatic configuration script will bypass the Web proxy for requests sent to non-dotted names.pfBypass
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if Web browsers configured to use the default automatic configuration script will bypass the Web proxy for requests sent to non-dotted names, or to VARIANT_FALSE if Web browsers configured to use the default automatic configuration script will not bypass the Web proxy for requests sent to non-dotted names.
Return Value
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Visual Basic
Property BypassLocalServers As Boolean
Property Value
Boolean value that indicates whether Web browsers configured to use the default automatic configuration script will bypass the Web proxy for requests sent to non-dotted names.
Remarks
This property is read/write. Its default value is True (VARIANT_TRUE in C++).
Non-dotted names typically refer to Web servers in the local network. To enable Web browsers using the default automatic configuration script to bypass the Web proxy for requests sent to dotted names that refer to Web servers in the local network, add these names to the local domain table (LDT), or to the FPCPublicNames collection accessed through the DirectAddressDestinations property.
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010