Share via


ConnectionEvaluationHistory Class

The ConnectionEvaluationHistory object represents the information that is stored in the system catalogs to evaluate the policy on a specific instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public NotInheritable Class ConnectionEvaluationHistory _
    Inherits SfcInstance
'Usage
Dim instance As ConnectionEvaluationHistory
public sealed class ConnectionEvaluationHistory : SfcInstance
public ref class ConnectionEvaluationHistory sealed : public SfcInstance
[<SealedAttribute>]
type ConnectionEvaluationHistory =  
    class
        inherit SfcInstance
    end
public final class ConnectionEvaluationHistory extends SfcInstance

Remarks

The evaluation history contains information for all the targets in the policy. However, the details of the evaluation for each instance of SQL Server are stored in ConnectionEvaluationHistory objects. Evaluation details for each target object are in the collection of EvaluationDetail objects that is referenced by the EvaluationDetails property.

The evaluation history detail for an instance of SQL Server is also in the syspolicy_policy_execution_history_details (Transact-SQL) system catalog.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Inheritance Hierarchy

System.Object
  SfcInstance
    Microsoft.SqlServer.Management.Dmf.ConnectionEvaluationHistory

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.