Microsoft Internet Security and Acceleration Server 2004 SDK

EnforceLogUrlLengthInWebProxy Property of IFPCWebProxy[C++]

FPCWebProxy.EnforceLogUrlLengthInWebProxy [Visual Basic]

[C++]

The EnforceLogUrlLengthInWebProxy property gets or sets a Boolean value that indicates whether the ISA Server Web proxy will reject requests with URLs that are longer than the maximum length that can be logged. This maximum length is 2048 bytes.

HRESULT get_EnforceLogUrlLengthInWebProxy(
  VARIANT_BOOL* pfEnforceUrlLength
);

HRESULT put_EnforceLogUrlLengthInWebProxy(
  VARIANT_BOOL fEnforceUrlLength
);

Parameters

pfEnforceUrlLength
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the Web proxy will reject requests with URLs that are longer than the maximum length that can be logged, or to VARIANT_FALSE if the Web proxy will accept requests with URLs that are longer than the maximum length that can be logged.
fEnforceUrlLength
Boolean value that specifies whether the Web proxy will reject requests with URLs that are longer than the maximum length that can be logged.

Return Values

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is VARIANT_FALSE.

After the value of this property has been changed, and the change has been saved by calling the Save method, the Microsoft Firewall service must be restarted for the change to take effect. The Firewall service can be restarted by calling the IFPCArray::RestartServices method.

[Visual Basic]

The EnforceLogUrlLengthInWebProxy property gets or sets a Boolean value that indicates whether the ISA Server Web proxy will reject requests with URLs that are longer than the maximum length that can be logged. This maximum length is 2048 bytes.

Property EnforceLogUrlLengthInWebProxy

Property Value

Boolean value that specifies whether the Web proxy will reject requests with URLs that are longer than the maximum length that can be logged.

Remarks

This property is read/write. Its default value is False.

After the value of this property has been changed, and the change has been saved by calling the Save method, the Microsoft Firewall service must be restarted for the change to take effect. The Firewall service can be restarted by calling the FPCArray.RestartServices method.

Requirements

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.

See Also

FPCWebProxy