The EnableWebProxyClients property gets or sets a Boolean value that indicates whether Web proxy clients on the network are supported.
HRESULT put_EnableWebProxyClients( VARIANT_BOOL fWebProxyClientsEnabled ); HRESULT get_EnableWebProxyClients( VARIANT_BOOL* pfWebProxyClientsEnabled );
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if Web proxy clients on the network are supported, or to VARIANT_FALSE if Web proxy clients on the network are not supported.
Boolean value that indicates whether Web proxy clients on the network are supported.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property EnableWebProxyClients As Boolean
Boolean value that indicates whether Web proxy clients on the network are supported.
' Define an enumeration value. const fpcLocalHost = 2 ' Create the root object. Set root = CreateObject("FPC.Root") ' Declare the other objects needed. Dim isaArray ' An FPCArray object Dim networks ' An FPCNetworks collection Dim network ' An FPCNetwork object ' Get references to the array object ' and the networks collection. Set isaArray = root.GetContainingArray() Set networks = isaArray.NetworkConfiguration.Networks ' Iterate through the networks, and for the Local Host network, ' enable listening for requests from Web Proxy clients if it is ' not enabled. For Each network In networks If network.NetworkType = fpcLocalHost Then If network.EnableWebProxyClients = False Then network.EnableWebProxyClients = True network.Save End If End If Next
This property is read/write. Its default value is False (VARIANT_FALSE in C++).
For the Local Host network, this property must be set to True (VARIANT_TRUE in C++) before attempting to create a new content download job.
This property cannot be configured for the following predefined networks: Default External, Quarantined VPN Clients, and VPN Clients.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.