共用方式為


ObjectSet.CalculateTargets Method

Definition

Overloads

CalculateTargets(ISfcConnection)
CalculateTargets(ISfcConnection, SfcQueryExpression)
CalculateTargets(SqlStoreConnection, String)
CalculateTargets(SqlStoreConnection, Condition, AdHocPolicyEvaluationMode, String, Object[], TargetEvaluation[])

CalculateTargets(ISfcConnection)

public System.Collections.IEnumerable CalculateTargets (Microsoft.SqlServer.Management.Common.ISfcConnection targetConnection);
member this.CalculateTargets : Microsoft.SqlServer.Management.Common.ISfcConnection -> System.Collections.IEnumerable
Public Iterator Function CalculateTargets (targetConnection As ISfcConnection) As IEnumerable

Parameters

targetConnection
ISfcConnection

Returns

Applies to

CalculateTargets(ISfcConnection, SfcQueryExpression)

public static System.Collections.IEnumerable CalculateTargets (Microsoft.SqlServer.Management.Common.ISfcConnection targetConnection, Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression sfcQueryExpression);
static member CalculateTargets : Microsoft.SqlServer.Management.Common.ISfcConnection * Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression -> System.Collections.IEnumerable
Public Shared Iterator Function CalculateTargets (targetConnection As ISfcConnection, sfcQueryExpression As SfcQueryExpression) As IEnumerable

Parameters

targetConnection
ISfcConnection
sfcQueryExpression
SfcQueryExpression

Returns

Applies to

CalculateTargets(SqlStoreConnection, String)

public System.Collections.IEnumerable CalculateTargets (Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection sqlStoreConnection, string policyCategory);
member this.CalculateTargets : Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection * string -> System.Collections.IEnumerable
Public Iterator Function CalculateTargets (sqlStoreConnection As SqlStoreConnection, policyCategory As String) As IEnumerable

Parameters

sqlStoreConnection
SqlStoreConnection
policyCategory
String

Returns

Applies to

CalculateTargets(SqlStoreConnection, Condition, AdHocPolicyEvaluationMode, String, Object[], TargetEvaluation[])

public void CalculateTargets (Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection targetConnection, Microsoft.SqlServer.Management.Dmf.Condition condition, Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode evaluationMode, string policyCategory, out object[] conforming, out Microsoft.SqlServer.Management.Dmf.TargetEvaluation[] violating);
member this.CalculateTargets : Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection * Microsoft.SqlServer.Management.Dmf.Condition * Microsoft.SqlServer.Management.Dmf.AdHocPolicyEvaluationMode * string * Object[] * TargetEvaluation[] -> unit
Public Sub CalculateTargets (targetConnection As SqlStoreConnection, condition As Condition, evaluationMode As AdHocPolicyEvaluationMode, policyCategory As String, ByRef conforming As Object(), ByRef violating As TargetEvaluation())

Parameters

targetConnection
SqlStoreConnection
condition
Condition
evaluationMode
AdHocPolicyEvaluationMode
policyCategory
String
conforming
Object[]
violating
TargetEvaluation[]

Applies to