Sdílet prostřednictvím


Policy.TargetProcessedEventArgs.Exception Property

Gets or sets the PolicyEvaluationException object.

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.TargetProcessedEventArgs 
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
The PolicyEvaluationException object.

See Also

Reference

Policy.TargetProcessedEventArgs Class

Microsoft.SqlServer.Management.Dmf Namespace