Microsoft Internet Security and Acceleration Server 2004 SDK |
The EnableWebProxyClients property gets or sets a Boolean value that indicates whether Web proxy clients on the network are supported.
HRESULT get_EnableWebProxyClients( VARIANT_BOOL* pfWebProxyClientsEnabled ); HRESULT put_EnableWebProxyClients( VARIANT_BOOL fWebProxyClientsEnabled );
This property is read/write.
For the Local Host network, this property must be set to VARIANT_TRUE before attempting to create a new content download job.
The EnableWebProxyClients property gets or sets a Boolean value that indicates whether Web proxy clients on the network are supported.
Property EnableWebProxyClients As Boolean
This property is read/write.
For the Local Host network, this property must be set to True before attempting to create a new content download job.
This VBScript code example enables listening for requests from Web proxy clients on the Local Host network if it is not enabled.
' Define an enumeration value. const fpcLocalHost = 2 ' Create the root obect. Set root = CreateObject("FPC.Root") ' Declare the other objects needed. Dim array ' An FPCArray object Dim networks ' An FPCNetworks collection Dim network ' An FPCNetwork object ' Get references to the array object ' and the networks collection. Set array = root.GetContainingArray() Set networks = array.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
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration
Server 2004 Administration Library.