Compartir a través de


CalculateTargets Método (SqlStoreConnection, Condition, AdHocPolicyEvaluationMode, String, Object[], TargetEvaluation[])

Calculates an expression with results applied to the targets.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
Public Sub CalculateTargets ( _
    targetConnection As SqlStoreConnection, _
    condition As Condition, _
    evaluationMode As AdHocPolicyEvaluationMode, _
    policyCategory As String, _
    <OutAttribute> ByRef conforming As Object(), _
    <OutAttribute> ByRef violating As TargetEvaluation() _
)
'Uso
Dim instance As ObjectSet
Dim targetConnection As SqlStoreConnection
Dim condition As Condition
Dim evaluationMode As AdHocPolicyEvaluationMode
Dim policyCategory As String
Dim conforming As Object()
Dim violating As TargetEvaluation()

instance.CalculateTargets(targetConnection, _
    condition, evaluationMode, policyCategory, _
    conforming, violating)
public void CalculateTargets(
    SqlStoreConnection targetConnection,
    Condition condition,
    AdHocPolicyEvaluationMode evaluationMode,
    string policyCategory,
    out Object[] conforming,
    out TargetEvaluation[] violating
)
public:
void CalculateTargets(
    SqlStoreConnection^ targetConnection, 
    Condition^ condition, 
    AdHocPolicyEvaluationMode evaluationMode, 
    String^ policyCategory, 
    [OutAttribute] array<Object^>^% conforming, 
    [OutAttribute] array<TargetEvaluation^>^% violating
)
member CalculateTargets : 
        targetConnection:SqlStoreConnection * 
        condition:Condition * 
        evaluationMode:AdHocPolicyEvaluationMode * 
        policyCategory:string * 
        conforming:Object[] byref * 
        violating:TargetEvaluation[] byref -> unit 
public function CalculateTargets(
    targetConnection : SqlStoreConnection, 
    condition : Condition, 
    evaluationMode : AdHocPolicyEvaluationMode, 
    policyCategory : String, 
    conforming : Object[], 
    violating : TargetEvaluation[]
)

Parámetros