Partilhar via


Método Evaluate (AdHocPolicyEvaluationMode, ISfcConnection[])

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

Sintaxe

'Declaração
Public Function Evaluate ( _
    evaluationMode As AdHocPolicyEvaluationMode, _
    ParamArray targetConnections As ISfcConnection() _
) As Boolean
'Uso
Dim instance As Policy
Dim evaluationMode As AdHocPolicyEvaluationMode
Dim targetConnections As ISfcConnection()
Dim returnValue As Boolean

returnValue = instance.Evaluate(evaluationMode, _
    targetConnections)
public bool Evaluate(
    AdHocPolicyEvaluationMode evaluationMode,
    params ISfcConnection[] targetConnections
)
public:
bool Evaluate(
    AdHocPolicyEvaluationMode evaluationMode, 
    ... array<ISfcConnection^>^ targetConnections
)
member Evaluate : 
        evaluationMode:AdHocPolicyEvaluationMode * 
        targetConnections:ISfcConnection[] -> bool 
public function Evaluate(
    evaluationMode : AdHocPolicyEvaluationMode, 
    ... targetConnections : ISfcConnection[]
) : boolean

Valor de retorno

Tipo: System. . :: . .Boolean