Share via


Policy.Export Method

Creates an XML rendering of the information policy.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Function Export As XmlDocument
'Usage
Dim instance As Policy
Dim returnValue As XmlDocument

returnValue = instance.Export()
public XmlDocument Export()

Return Value

Type: System.Xml.XmlDocument
An XmlDocument object that represents the information policy in XML format.

Remarks

Exporting an information policy as XML enables you to import that policy into another site collection. To do so, use the Add method of the PolicyCollection object for that site collection.

For more information about the information policy schema, see Policy Schema Overview in SharePoint Server 2010 (ECM).

See Also

Reference

Policy Class

Policy Members

Microsoft.Office.RecordsManagement.InformationPolicy Namespace