Share via


Policy.PolicyEvaluationFinishedEventArgs.Exception Property

Gets or sets a PolicyEvaluationException object that represents the policy evaluation exception.

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

Syntax

'Declaration
Public Property Exception As PolicyEvaluationException
    Get
    Set
'Usage
Dim instance As Policy..::..PolicyEvaluationFinishedEventArgs
Dim value As PolicyEvaluationException

value = instance.Exception

instance.Exception = value
public PolicyEvaluationException Exception { get; set; }
public:
property PolicyEvaluationException^ Exception {
    PolicyEvaluationException^ get ();
    void set (PolicyEvaluationException^ value);
}
member Exception : PolicyEvaluationException with get, set
function get Exception () : PolicyEvaluationException
function set Exception (value : PolicyEvaluationException)

Property Value

Type: Microsoft.SqlServer.Management.Dmf.PolicyEvaluationException
A PolicyEvaluationException object value that represents the policy evaluation exception.

Remarks

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