Evaluate 方法 (AdHocPolicyEvaluationMode, ISfcConnection[])
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Public Function Evaluate ( _
evaluationMode As AdHocPolicyEvaluationMode, _
ParamArray targetConnections As ISfcConnection() _
) As Boolean
'用途
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
參數
- evaluationMode
型別:Microsoft.SqlServer.Management.Dmf. . :: . .AdHocPolicyEvaluationMode
- targetConnections
型別:array<Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection> [] () [] []