Partilhar via


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

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

Sintaxe

'Declaração
Public Sub CalculateTargets ( _
    targetConnection As SqlStoreConnection, _
    condition As Condition, _
    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 policyCategory As String
Dim conforming As Object()
Dim violating As TargetEvaluation()

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

Parâmetros

  • targetConnection
    Tipo: SqlStoreConnection