CalculateTargets 方法 (SqlStoreConnection, String)
Calculates an expression with results applied to the targets.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Public Function CalculateTargets ( _
sqlStoreConnection As SqlStoreConnection, _
policyCategory As String _
) As IEnumerable
'用途
Dim instance As ObjectSet
Dim sqlStoreConnection As SqlStoreConnection
Dim policyCategory As String
Dim returnValue As IEnumerable
returnValue = instance.CalculateTargets(sqlStoreConnection, _
policyCategory)
public IEnumerable CalculateTargets(
SqlStoreConnection sqlStoreConnection,
string policyCategory
)
public:
IEnumerable^ CalculateTargets(
SqlStoreConnection^ sqlStoreConnection,
String^ policyCategory
)
member CalculateTargets :
sqlStoreConnection:SqlStoreConnection *
policyCategory:string -> IEnumerable
public function CalculateTargets(
sqlStoreConnection : SqlStoreConnection,
policyCategory : String
) : IEnumerable
參數
- sqlStoreConnection
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlStoreConnection
A ISfcConnection object.
- policyCategory
型別:System. . :: . .String
A string value that specifies the policy.
傳回值
型別:System.Collections. . :: . .IEnumerable
An IEnumerable object.