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 |
|
|
|
[!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). |
Displays a list of Policy-Based Management policy groups.
Requires membership in the PolicyAdministratorRole role in the msdb database.
Administer Servers by Using Policy-Based Management
Policy-Based Management Views (Transact-SQL)