TechNet
Export (0) Print
Expand All

Copy a Policy-Based Management Facet State to an XML File

 

Applies To: SQL Server 2016

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

Security

Permissions

The procedures in this topic require membership in the PolicyAdministratorRole role in the msdb database.

To copy a facet state to an XML file

  1. In Object Explorer, right-click an instance of SQL Server, instance object, database, or database object, and then click Facets.

  2. In the View Facets –object_name dialog box, click Export Current State as Policy.

  3. 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

  4. When finished, click OK.

Community Additions

ADD
Show:
© 2016 Microsoft