ObjectSet.CalculateTargets ObjectSet.CalculateTargets ObjectSet.CalculateTargets Method

정의

대상에 적용된 결과를 사용하여 식을 계산합니다. Calculates an expression with results applied to the targets.

오버로드

CalculateTargets(ISfcConnection) CalculateTargets(ISfcConnection) CalculateTargets(ISfcConnection)

대상에 적용된 결과를 사용하여 식을 계산합니다. Calculates an expression with results applied to the targets.

CalculateTargets(ISfcConnection, SfcQueryExpression) CalculateTargets(ISfcConnection, SfcQueryExpression)

대상에 적용 된 결과 계산 하는 식을 나타냅니다. Indicates an expression to calculate with results applied to the targets.

CalculateTargets(SqlStoreConnection, String) CalculateTargets(SqlStoreConnection, String)

대상에 적용된 결과를 사용하여 식을 계산합니다. Calculates an expression with results applied to the targets.

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

대상에 적용된 결과를 사용하여 식을 계산합니다. Calculates an expression with results applied to the targets.

CalculateTargets(ISfcConnection) CalculateTargets(ISfcConnection) CalculateTargets(ISfcConnection)

대상에 적용된 결과를 사용하여 식을 계산합니다. Calculates an expression with results applied to the targets.

public:
 System::Collections::IEnumerable ^ CalculateTargets(Microsoft::SqlServer::Management::Common::ISfcConnection ^ targetConnection);
public System.Collections.IEnumerable CalculateTargets (Microsoft.SqlServer.Management.Common.ISfcConnection targetConnection);
Public Function CalculateTargets (targetConnection As ISfcConnection) As IEnumerable
매개 변수
targetConnection
Microsoft.SqlServer.Management.Common.ISfcConnection Microsoft.SqlServer.Management.Common.ISfcConnection Microsoft.SqlServer.Management.Common.ISfcConnection

대상 연결 The target connection

반환

대상 개체의 컬렉션을 반환 합니다. Returns a collection of target object.

설명

ObjectSet 개체는 개체의 정책 기반 관리 집합을 나타냅니다.The ObjectSet object represents a policy-based management set of objects. 대상 개체 집합은 SQL Server의 인스턴스로 필터를 적용 한 후 대상 개체의 결과 집합입니다.A target object set is the resulting set of target objects after applying a filter to an instance of SQL Server. 필터 개체를 사용 하 여 만들 수 있습니다는 Urn XPath 식을 만드는 데 사용할 수 있는 개체입니다.Using a Filter object, you can create a Urn object which you can use to create an XPath expression. XPath 식은 개체 집합에서 대상 개체를 필터링 하는 기본 XPath 식을 지정 하려면 사용할 수 있습니다.The XPath expression can be used to specify a skeleton XPath expression which filters the target objects out of the object set.

CalculateTargets(ISfcConnection, SfcQueryExpression) CalculateTargets(ISfcConnection, SfcQueryExpression)

대상에 적용 된 결과 계산 하는 식을 나타냅니다. Indicates an expression to calculate with results applied to the targets.

public:
 static System::Collections::IEnumerable ^ CalculateTargets(Microsoft::SqlServer::Management::Common::ISfcConnection ^ targetConnection, Microsoft::SqlServer::Management::Sdk::Sfc::SfcQueryExpression ^ sfcQueryExpression);
public static System.Collections.IEnumerable CalculateTargets (Microsoft.SqlServer.Management.Common.ISfcConnection targetConnection, Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryExpression sfcQueryExpression);
매개 변수
targetConnection
Microsoft.SqlServer.Management.Common.ISfcConnection Microsoft.SqlServer.Management.Common.ISfcConnection Microsoft.SqlServer.Management.Common.ISfcConnection

대상 연결 합니다. The target connection.

sfcQueryExpression
SfcQueryExpression SfcQueryExpression SfcQueryExpression

쿼리 식입니다. The query expression.

반환

대상 개체입니다. The target object.

CalculateTargets(SqlStoreConnection, String) CalculateTargets(SqlStoreConnection, String)

대상에 적용된 결과를 사용하여 식을 계산합니다. Calculates an expression with results applied to the targets.

public:
 System::Collections::IEnumerable ^ CalculateTargets(Microsoft::SqlServer::Management::Sdk::Sfc::SqlStoreConnection ^ sqlStoreConnection, System::String ^ policyCategory);
public System.Collections.IEnumerable CalculateTargets (Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection sqlStoreConnection, string policyCategory);
매개 변수
sqlStoreConnection
SqlStoreConnection SqlStoreConnection SqlStoreConnection

Microsoft.SqlServer.Management.Common.ISfcConnection 개체입니다. A Microsoft.SqlServer.Management.Common.ISfcConnection object.

policyCategory
String String String

정책 범주를 지정하는 문자열 값입니다. A string value that specifies the policy category.

반환

계산 하는 식입니다. An expression to calculate.

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

대상에 적용된 결과를 사용하여 식을 계산합니다. Calculates an expression with results applied to the targets.

public:
 void CalculateTargets(Microsoft::SqlServer::Management::Sdk::Sfc::SqlStoreConnection ^ targetConnection, Microsoft::SqlServer::Management::Dmf::Condition ^ condition, Microsoft::SqlServer::Management::Dmf::AdHocPolicyEvaluationMode evaluationMode, System::String ^ policyCategory, [Runtime::InteropServices::Out] cli::array <System::Object ^> ^ % conforming, [Runtime::InteropServices::Out] cli::array <Microsoft::SqlServer::Management::Dmf::TargetEvaluation ^> ^ % violating);
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);
매개 변수
targetConnection
SqlStoreConnection SqlStoreConnection SqlStoreConnection

대상 연결 합니다. The target connection.

condition
Condition Condition Condition

식의 조건입니다. The condition of the expression.

evaluationMode
AdHocPolicyEvaluationMode AdHocPolicyEvaluationMode AdHocPolicyEvaluationMode

평가 모드입니다. The evaluation mode.

policyCategory
String String String

정책 범주입니다. The policy category.

conforming
Object[]

에 대 한 포인터 Object 배열입니다. A pointer to Object array.

violating
TargetEvaluation[]

에 대 한 포인터 TargetEvaluation 배열입니다. A pointer to TargetEvaluation array.

적용 대상