Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.76 KB

syspolicy-policy-categories-transact-sql.md

File metadata and controls

40 lines (32 loc) · 1.76 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
syspolicy_policy_categories (Transact-SQL)
syspolicy_policy_categories (Transact-SQL)
VanMSFT
vanto
06/10/2016
sql
system-objects
reference
syspolicy_policy_categories
syspolicy_policy_categories_TSQL
syspolicy_policy_groups view
TSQL

syspolicy_policy_categories (Transact-SQL)

[!INCLUDE SQL Server]

Displays one row for each Policy-Based Management policy category in the instance of [!INCLUDEssNoVersion]. Policy categories help you organize policies when you have many policies. The following table describes the columns in the syspolicy_policy_groups view.

Column name Data type Description
policy_category_id int Identifier of the policy category.
name sysname Name of the policy category.
mandate_database_subscriptions bit Indicates whether the policy category applies to all databases in an instance without an explicit subscription (1) or the policy category must be applied to a database by using an explicit subscription (0).

Remarks

Displays a list of Policy-Based Management policy groups.

Permissions

Requires membership in the PolicyAdministratorRole role in the msdb database.

See Also

Administer Servers by Using Policy-Based Management
Policy-Based Management Views (Transact-SQL)