The GetImportConflicts method finds conflicts between import objects and existing objects.
[id(2), helpstring("method GetImportConflicts")] HRESULT GetImportConflicts(
[in] BSTR bstrPMCXml,
[in] BSTR bstrPolicyXml,
[in] BSTR bstrCalendarXml,
[in] BSTR bstrConditionalXml,
[in] BSTR bstrMachineGroupXml,
[in] BSTR bstrConfigurationXmls,
[out] BSTR *pbstrConflictingObjects
);
bstrPMCXml: An optional string that specifies process matching criteria (PMC), in the form of a ProcessMatchingCriteriaCollection element (section 2.2.5.25).
bstrPolicyXml: An optional string that specifies resource policies, in the form of a PolicyCollection element (section 2.2.5.22).
bstrCalendarXml: An optional string that specifies calendar elements, in the form of a CalendarsCollection element (section 2.2.5.11).
bstrConditionalXml: An optional string that specifies a conditional policy, in the form of a ConditionalPolicy element (section 2.2.5.12).
bstrMachineGroupXml: An optional string that specifies a machine group, in the form of a MachineGroup element (section 2.2.5.18).
bstrConfigurationXmls: Not used.
pbstrConflictingObjects: A pointer to a string that SHOULD identify the conflicting objects, in the form of an ObjectIds element (section 2.2.5.20).
Return Values: This method returns 0x00000000 for success or a negative HRESULT value (in the following table or in [MS-ERREF] section 2.1.1) if an error occurs.
|
Return value/code |
Description |
|---|---|
|
0x00000000 S_OK |
Operation successful. |
|
0x80070057 E_INVALIDARG |
One or more arguments are invalid. |
|
0xC1FF0070 WRM_ERR_TAGS_NOT_IN_ORDER |
The XML data that is maintained by the management service is invalid or cannot be processed.<36> |
Additional IResourceManager2 interface methods are specified in section 3.2.4.2.