다음을 통해 공유


Evaluate 메서드 (AdHocPolicyEvaluationMode, , ISfcConnection[])

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf.dll의 Microsoft.SqlServer.Dmf

구문

‘선언
Public Function Evaluate ( _
    evaluationMode As AdHocPolicyEvaluationMode, _
    targetQueryExpression As SfcQueryExpression, _
    ParamArray targetConnections As ISfcConnection() _
) As Boolean
‘사용 방법
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

매개 변수

  • targetQueryExpression
    형식: SfcQueryExpression

반환 값

형식: System. . :: . .Boolean