Share via


IFPCWebProxy::EnforceLogUrlLengthInWebProxy property

Applies to: desktop apps only

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

This property is read/write.

Syntax

HRESULT put_EnforceLogUrlLengthInWebProxy(
  VARIANT_BOOL fEnforceUrlLength
);

HRESULT get_EnforceLogUrlLengthInWebProxy(
  VARIANT_BOOL *pfEnforceUrlLength
);
Property EnforceLogUrlLengthInWebProxy( _
  ByVal fEnforceUrlLength As VARIANT_BOOL, _
  ByVal pfEnforceUrlLength As VARIANT_BOOL _
)

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.

Error codes

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 False (VARIANT_FALSE in C++).

After the value of this property has been modified, the change must be written to persistent storage by calling the Save method, and the Microsoft Firewall service must be restarted for the change to take effect. For more information about restarting the Firewall service to apply changes, see Restarting Services After Configuration Changes.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCWebProxy

 

 

Build date: 7/12/2010