IDataCollectorSet::get_RootPath method (pla.h)
Retrieves or sets the base path where the subdirectories are created.
Warning If you change the RootPath property, you should change it to a directory that only contains performance logs. Setting this to another directory, such as the drive root or system root, may cause files to be inadvertently deleted when the logs are cleaned up by the system.
Syntax
HRESULT get_RootPath(
BSTR *folder
);
Parameters
folder
Return value
None
Remarks
If this property is changed from the default value, the specified directory must exist before the IDataCollectorSet::Start method is called.
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
IDataCollectorSet::LatestOutputLocation