ObjectSet.CalculateTargets 方法 (ISfcConnection, SfcQueryExpression)
Calculates an expression with results applied to the targets.
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
Public Shared Function CalculateTargets ( _
targetConnection As ISfcConnection, _
sfcQueryExpression As SfcQueryExpression _
) As IEnumerable
用法
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
参数
- targetConnection
类型:Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object.
- sfcQueryExpression
类型:Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression
A SfcQueryExpression object.
返回值
类型:System.Collections.IEnumerable
An IEnumerable object.