Copy a Policy-Based Management Facet State to an XML File
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
This topic describes how to how to copy the state of a Policy-Based Management facet to an XML file in SQL Server 2016 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.