IFsrmFileManagementJob::CreatePropertyCondition method (fsrmreports.h)
[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileManagementJob class.]
Creates a new property condition and adds it to the collection of property conditions.
Syntax
HRESULT CreatePropertyCondition(
[in] BSTR name,
[out] IFsrmPropertyCondition **propertyCondition
);
Parameters
[in] name
The name of the property definition that the condition applies to. To enumerate the defined property definitions, call the IFsrmClassificationManager::EnumPropertyDefinitions method.
[out] propertyCondition
An IFsrmPropertyCondition interface that you use to define the newly created property condition.
Return value
The method returns the following return values.
Remarks
To enumerate the collection of property conditions associated with the job, access the PropertyConditions property.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | fsrmreports.h |
DLL | SrmSvc.dll |