Metodo Evaluate (AdHocPolicyEvaluationMode, , ISfcConnection[])
Spazio dei nomi: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Sintassi
'Dichiarazione
Public Function Evaluate ( _
evaluationMode As AdHocPolicyEvaluationMode, _
targetQueryExpression As SfcQueryExpression, _
ParamArray targetConnections As ISfcConnection() _
) As Boolean
'Utilizzo
Dim instance As Policy
Dim evaluationMode As AdHocPolicyEvaluationMode
Dim targetQueryExpression As SfcQueryExpression
Dim targetConnections As ISfcConnection()
Dim returnValue As Boolean
returnValue = instance.Evaluate(evaluationMode, _
targetQueryExpression, targetConnections)
public bool Evaluate(
AdHocPolicyEvaluationMode evaluationMode,
SfcQueryExpression targetQueryExpression,
params ISfcConnection[] targetConnections
)
public:
bool Evaluate(
AdHocPolicyEvaluationMode evaluationMode,
SfcQueryExpression^ targetQueryExpression,
... array<ISfcConnection^>^ targetConnections
)
member Evaluate :
evaluationMode:AdHocPolicyEvaluationMode *
targetQueryExpression:SfcQueryExpression *
targetConnections:ISfcConnection[] -> bool
public function Evaluate(
evaluationMode : AdHocPolicyEvaluationMode,
targetQueryExpression : SfcQueryExpression,
... targetConnections : ISfcConnection[]
) : boolean
Parametri
- evaluationMode
Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .AdHocPolicyEvaluationMode
- targetQueryExpression
Tipo: SfcQueryExpression
- targetConnections
Tipo: array<Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection> [] () [] []
Valore restituito
Tipo: System. . :: . .Boolean
Vedere anche