Compartilhar via


Método ObjectSet.CalculateTargets (ISfcConnection, SfcQueryExpression)

Calculates an expression with results applied to the targets.

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

Sintaxe

'Declaração
Public Shared Function CalculateTargets ( _
    targetConnection As ISfcConnection, _
    sfcQueryExpression As SfcQueryExpression _
) As IEnumerable
'Uso
Dim targetConnection As ISfcConnection 
Dim sfcQueryExpression As SfcQueryExpression 
Dim returnValue As IEnumerable 

returnValue = ObjectSet.CalculateTargets(targetConnection, _
    sfcQueryExpression)
public static IEnumerable CalculateTargets(
    ISfcConnection targetConnection,
    SfcQueryExpression sfcQueryExpression
)
public:
static IEnumerable^ CalculateTargets(
    ISfcConnection^ targetConnection, 
    SfcQueryExpression^ sfcQueryExpression
)
static member CalculateTargets : 
        targetConnection:ISfcConnection * 
        sfcQueryExpression:SfcQueryExpression -> IEnumerable
public static function CalculateTargets(
    targetConnection : ISfcConnection, 
    sfcQueryExpression : SfcQueryExpression
) : IEnumerable

Parâmetros

Valor de retorno

Tipo: System.Collections.IEnumerable
An IEnumerable object.

Consulte também

Referência

ObjectSet Classe

Sobrecarregado CalculateTargets

Namespace Microsoft.SqlServer.Management.Dmf