Sdílet prostřednictvím


EvaluationHistory Class

The EvaluationHistory object represents information about parent policy evaluation that is stored in the system catalogs.

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

Syntax

'Declaration
Public NotInheritable Class EvaluationHistory _
    Inherits SfcInstance
'Usage
Dim instance As EvaluationHistory
public sealed class EvaluationHistory : SfcInstance
public ref class EvaluationHistory sealed : public SfcInstance
[<SealedAttribute>]
type EvaluationHistory =  
    class
        inherit SfcInstance
    end
public final class EvaluationHistory 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 is stored in the collection of ConnectionEvaluationHistory objects in ConnectionEvaluationHistories property. Evaluation details for each target object are in the EvaluationDetail object.

The evaluation history information for a policy is also in the syspolicy_policy_execution_history (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.EvaluationHistory

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.