ObjectSet.CalculateTargets Method (ISfcConnection, SfcQueryExpression)
Calculates an expression with results applied to the targets.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Shared Function CalculateTargets ( _
targetConnection As ISfcConnection, _
sfcQueryExpression As SfcQueryExpression _
) As IEnumerable
'Usage
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
Parameters
- targetConnection
Type: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object.
- sfcQueryExpression
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression
A SfcQueryExpression object.
Return Value
Type: System.Collections.IEnumerable
An IEnumerable object.
See Also