IDataManager::put_MaxSize method (pla.h)

Retrieves or sets the maximum disk space to be used by all data collectors in the set.

This property is read/write.

Syntax

HRESULT put_MaxSize(
  ULONG ulMaxSize
);

Parameters

ulMaxSize

Return value

None

Remarks

The maximum value applies to all files in all subfolders under the path specified by the IDataCollectorSet::RootPath property.

This value is used by the data manager:

  • Before the data collector set starts if the value of the IDataManager::CheckBeforeRunning property is VARIANT_TRUE. If the maximum size is exceeded, the manager prevents the data collector set from running.
  • After the collection is completed. If the maximum size is exceeded, the data manager will start deleting folders (according to the IDataManager::ResourcePolicy property) until the total size is below the maximum size.
The maximum size value is ignored for performance counter log collection. To work around this issue, you can do one of two things:

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header pla.h
DLL Pla.dll

See also

IDataManager