Copy a Policy-Based Management Facet State to an XML File
This topic describes how to how to copy the state of a Policy-Based Management facet to an XML file in SQL Server 2014 by using SQL Server Management Studio.
In This Topic
The procedures in this topic require membership in the PolicyAdministratorRole role in the msdb database.
To copy a facet state to an XML file
In Object Explorer, right-click an instance of SQL Server, instance object, database, or database object, and then click Facets.
In the View Facets – object_name dialog box, click Export Current State as Policy.
In the Export as Policy dialog box, type the path and name of the file; or use the Browse (...) button to locate the file, and then type the name of the XML file. For more information on the available options in this dialog box, see Export As Policy Dialog Box
When finished, click OK.