Policy-Based Management stored procedures (Transact-SQL)
Applies to:
SQL Server
SQL Server supports the following system stored procedures that are used for Policy-Based Management.
Important
Only the Policy-Based Management stored procedures that are documented in SQL Server Books Online are supported. Undocumented stored procedures are used by internal Policy-Based Management components and should not be used to administer Policy-Based Management.
sp_syspolicy_add_policy_category
sp_syspolicy_add_policy_category_subscription
sp_syspolicy_delete_policy_category
sp_syspolicy_delete_policy_category_subscription
sp_syspolicy_delete_policy_execution_history
sp_syspolicy_rename_policy_category
sp_syspolicy_repair_policy_automation
sp_syspolicy_set_config_enabled
sp_syspolicy_set_config_history_retention
sp_syspolicy_set_log_on_success
sp_syspolicy_subscribe_to_policy_category
sp_syspolicy_unsubscribe_from_policy_category
Related content
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