CalculateTargets 方法 (, Condition, String, Object[], TargetEvaluation[])
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Public Sub CalculateTargets ( _
targetConnection As SqlStoreConnection, _
condition As Condition, _
policyCategory As String, _
<OutAttribute> ByRef conforming As Object(), _
<OutAttribute> ByRef violating As TargetEvaluation() _
)
'用途
Dim instance As ObjectSet
Dim targetConnection As SqlStoreConnection
Dim condition As Condition
Dim policyCategory As String
Dim conforming As Object()
Dim violating As TargetEvaluation()
instance.CalculateTargets(targetConnection, _
condition, policyCategory, conforming, _
violating)
public void CalculateTargets(
SqlStoreConnection targetConnection,
Condition condition,
string policyCategory,
out Object[] conforming,
out TargetEvaluation[] violating
)
public:
void CalculateTargets(
SqlStoreConnection^ targetConnection,
Condition^ condition,
String^ policyCategory,
[OutAttribute] array<Object^>^% conforming,
[OutAttribute] array<TargetEvaluation^>^% violating
)
member CalculateTargets :
targetConnection:SqlStoreConnection *
condition:Condition *
policyCategory:string *
conforming:Object[] byref *
violating:TargetEvaluation[] byref -> unit
public function CalculateTargets(
targetConnection : SqlStoreConnection,
condition : Condition,
policyCategory : String,
conforming : Object[],
violating : TargetEvaluation[]
)
參數
- targetConnection
型別:SqlStoreConnection
- policyCategory
型別:System. . :: . .String
- conforming
型別:array<System. . :: . .Object> [] () [] []%
- violating
型別:array<Microsoft.SqlServer.Management.Dmf. . :: . .TargetEvaluation> [] () [] []%