IFPCMalwareInspectionScannerSettings::MaxFileSizeInMegs property

Applies to: desktop apps only

The MaxFileSizeInMegs property gets or sets the maximum file size, in megabytes, above which the malware inspection scanner will block files if the limit on the file size is enforced.

This property is read/write.

Syntax

HRESULT put_MaxFileSizeInMegs(
  long lMaxFileSizeInMegs
);

HRESULT get_MaxFileSizeInMegs(
  long *plMaxFileSizeInMegs
);
' Data type: Long

Property MaxFileSizeInMegs( _
  ByVal lMaxFileSizeInMegs As long, _
  ByVal plMaxFileSizeInMegs As long _
) As Long

Property value

A 32-bit integer that specifies the maximum file size, in megabytes, above which the malware inspection scanner will block files if the limit on the file size is enforced.

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. The default value is 1000, and the range of permissible values is from 0 through 4095.

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

FPCMalwareInspectionScannerSettings

 

 

Build date: 7/12/2010