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
- targetConnection
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object.
- sfcQueryExpression
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression
A SfcQueryExpression object.
Valor de retorno
Tipo: System.Collections.IEnumerable
An IEnumerable object.