Export a Policy-Based Management Policy
Applies to:
SQL Server
This topic describes how to export a Policy-Based Management policy in SQL Server by using SQL Server Management Studio.
In This Topic
Before you begin:
To export a policy, using:
Before You Begin
Security
Permissions
Requires membership in the PolicyAdministratorRole role in the msdb database.
Using SQL Server Management Studio
To export a policy
In Object Explorer, click the plus sign to expand the server that contains the Policy-Based Management policy that you want to export.
Click the plus sign to expand the Management folder.
Click the plus sign to expand Policy Management.
Click the plus sign to expand the Policies folder.
Right-click the policy that you want to export and select Export Policy.
In the Export Policy dialog box, type the path and name of the file in the address bar. Alternately, find a suitable location for the file in the dialog box's navigation pane, and then type the name of the XML file in the File Name box.
When finished, click Save.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om