3.2.4.1.4 ExportXMLFiles (Opnum 10)
The ExportXMLFiles method saves the current WSRM configuration.<28>
-
[id(4), helpstring("method ExportXMLFiles")] HRESULT ExportXMLFiles( [out] BSTR* pbstrPMCXml, [out] BSTR* pbstrPolicyXml, [out] BSTR* pbstrCalendarXml, [out] BSTR* pbstrConditionalXml );
pbstrPMCXml: A pointer to a string that returns process matching criteria (PMC) in the form of a ProcessMatchingCriteriaCollection element (section 2.2.5.25). For an example, see ProcessMatchingCriteriaCollection example (section 4.2.21).
pbstrPolicyXml: A pointer to a string that returns a resource policy in the form of a PolicyCollection element (section 2.2.5.22).
pbstrCalendarXml: A pointer to a string that returns a calendar in the form of a CalendarsCollection element (section 2.2.5.11). For an example, see CalendarsCollection Example (section 4.2.8).
pbstrConditionalXml: A pointer to a string that returns a condition in the form of a ConditionalPolicy element (section 2.2.5.12). For an example, see section 4.2.9.
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
0xC1FF0070
WRM_ERR_TAGS_NOT_IN_ORDER
The XML data that is maintained by the management service is invalid or cannot be processed.<29>
0x00000000
S_OK
Operation successful.
Additional IResourceManager interface methods are specified in section 3.2.4.1.