IFsrmClassificationManager::WaitForClassificationCompletion method (fsrmpipeline.h)
[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMClassification class.]
Waits for the specified period of time or until classification has finished running.
Syntax
HRESULT WaitForClassificationCompletion(
[in] long waitSeconds,
[out] VARIANT_BOOL *completed
);
Parameters
[in] waitSeconds
The number of seconds to wait for classification and the reports to complete. The method returns when the period expires or classification and the reports complete. To wait indefinitely, set the value to –1. The value must be in the range from –1 through 2,147,483.
[out] completed
Is VARIANT_TRUE if the reports completed; otherwise, VARIANT_FALSE.
Return value
The method returns the following return values.
Remarks
To run the classification, call the IFsrmClassificationManager::RunClassification method.
After WaitForClassificationCompletion returns, access the IFsrmClassificationManager.ClassificationLastError property to determine if the reports completed successfully.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | fsrmpipeline.h (include FsrmPipeline.h, FsrmTlb.h) |
DLL | SrmSvc.dll |