Share via


Policy.Evaluate Method

Definition

Overloads

Evaluate(AdHocPolicyEvaluationMode, ISfcConnection[])
Evaluate(AdHocPolicyEvaluationMode, Object[])
Evaluate(AdHocPolicyEvaluationMode, SfcQueryExpression, ISfcConnection[])

Evaluate(AdHocPolicyEvaluationMode, ISfcConnection[])

public bool Evaluate (Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode evaluationMode, params Microsoft.SqlServer.Management.Common.ISfcConnection[] targetConnections);
member this.Evaluate : Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode * Microsoft.SqlServer.Management.Common.ISfcConnection[] -> bool
Public Function Evaluate (evaluationMode As AdHocPolicyEvaluationMode, ParamArray targetConnections As ISfcConnection()) As Boolean

Parameters

evaluationMode
AdHocPolicyEvaluationMode
targetConnections
ISfcConnection[]

Returns

Applies to

Evaluate(AdHocPolicyEvaluationMode, Object[])

public bool Evaluate (Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode evaluationMode, params object[] targetObjects);
member this.Evaluate : Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode * obj[] -> bool
Public Function Evaluate (evaluationMode As AdHocPolicyEvaluationMode, ParamArray targetObjects As Object()) As Boolean

Parameters

evaluationMode
AdHocPolicyEvaluationMode
targetObjects
Object[]

Returns

Applies to

Evaluate(AdHocPolicyEvaluationMode, SfcQueryExpression, ISfcConnection[])

public bool Evaluate (Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode evaluationMode, Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression targetQueryExpression, params Microsoft.SqlServer.Management.Common.ISfcConnection[] targetConnections);
member this.Evaluate : Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode * Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression * Microsoft.SqlServer.Management.Common.ISfcConnection[] -> bool
Public Function Evaluate (evaluationMode As AdHocPolicyEvaluationMode, targetQueryExpression As SfcQueryExpression, ParamArray targetConnections As ISfcConnection()) As Boolean

Parameters

evaluationMode
AdHocPolicyEvaluationMode
targetQueryExpression
SfcQueryExpression
targetConnections
ISfcConnection[]

Returns

Applies to