Import a Policy-Based Management Policy
Applies to: SQL Server
This topic describes how to import a Policy-Based Management policy instance in SQL Server by using SQL Server Management Studio.
Permissions
Requires membership in the PolicyAdministratorRole role in the msdb database.
Using SQL Server Management Studio
To import a policy instance
In Object Explorer, click the plus sign to expand the server where the newly-imported policy instance will reside.
Click the plus sign to expand the Management folder.
Click the plus sign to expand Policy Management.
Right-click the Policies folder and select Import Policy.
In the Import dialog box, type the path and name of the file; or use the Browse (...) button to locate the XML file that contains the policy, and then select the file. For more information on the available options in the Import dialog box, see Import Policies Dialog Box.
When finished, click OK.
Example policies
Example policies are available in the SQL Server Samples code repository. These policies can be imported and used as a basis for your own policy-based management policies.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho