title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | |
---|---|---|---|---|---|---|---|---|---|
Evaluate Policy-Based Management policy from an object |
Learn how to evaluate a policy from a SQL Server instance, database, or database object using SQL Server Management Studio (SSMS). |
VanMSFT |
vanto |
03/14/2017 |
sql |
security |
how-to |
|
[!INCLUDE SQL Server] This topic describes how to evaluate a policy from a server instance, database, or database object in [!INCLUDEssnoversion] by using [!INCLUDEssManStudioFull].
In This Topic
-
Before you begin:
-
To evaluate a policy from an object, using:
-
The execution mode is defined as part of the policy and cannot be changed in the Evaluate Policies dialog box.
-
The Evaluate Policies dialog box only shows policies appropriate for the database object.
Requires membership in the PolicyAdministratorRole role in the msdb database.
-
In Object Explorer, right-click a server instance, a database, or a database object, point to Policies, and select Evaluate.
-
In the Evaluate Policies dialog box, select one or more policies and click Evaluate to run the policy in evaluation mode. This generates a compliance report for the target set but does not reconfigure [!INCLUDEssNoVersion] or enforce future compliance. For targets that do not comply with the selected policies and have properties that can be reconfigured by Policy-Based Management, you can enforce policy compliance by clicking Apply. For more information on the available options in the Evaluate Policies dialog box, see Evaluate Policies Dialog Box, Policy Selection Page, Evaluate Policies Dialog Box, Evaluation Results Page, and Results Detailed View Dialog Box.
-
When finished, click Close.