Class PolicyBasedManagementSchema.PolicyCategory
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
syspolicy_policy_categories (Transact-SQL)
Applies to: √ SQL Server
Displays one row for each Policy-Based Management policy category in the instance of SQL Server. Policy categories help you organize policies when you have many policies. The following table describes the columns in the syspolicy_policy_groups view.
[Table(Database = "msdb", Schema = "dbo", Name = "syspolicy_policy_categories", IsView = true)]
public class PolicyBasedManagementSchema.PolicyCategory
- Inheritance
-
PolicyBasedManagementSchema.PolicyCategory
- Inherited Members
- Extension Methods
Properties
MandateDatabaseSubscriptions
mandate_database_subscriptions NOT NULL 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).[Column("mandate_database_subscriptions")]
[NotNull]
public bool MandateDatabaseSubscriptions { get; set; }
Property Value
Name
name NOT NULL sysname
Name of the policy category.[Column("name")]
[NotNull]
public string Name { get; set; }
Property Value
PolicyCategoryID
policy_category_id NOT NULL int
Identifier of the policy category.[Column("policy_category_id")]
[NotNull]
public int PolicyCategoryID { get; set; }