The ExportXml method exports objects from the configuration.
[id(4), helpstring("method ExportXml")] HRESULT ExportXml(
[out] BSTR *pbstrPMCXml,
[out] BSTR *pbstrPolicyXml,
[out] BSTR *pbstrCalendarXml,
[out] BSTR *pbstrConditionalXml,
[out] BSTR *pbstrMachineGroupXml,
[out] BSTR *pbstrConfigurationXmls
);
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 SHOULD return a conditional policy, in the format of a ConditionalPolicy element (section 2.2.5.12).
pbstrMachineGroupXml: A pointer to a string that SHOULD return a machine group, in the format of a MachineGroup element (section 2.2.5.17).
pbstrConfigurationXmls: A pointer to a string that SHOULD return a configuration, in the format of a ConfigurationFiles element (section 2.2.5.13).
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. |
Additional IResourceManager2 interface methods are specified in section 3.2.4.2.