ObjectSet.CalculateTargets Method (SqlStoreConnection, String)
Calculates an expression with results applied to the targets.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Function CalculateTargets ( _
sqlStoreConnection As SqlStoreConnection, _
policyCategory As String _
) As IEnumerable
'Usage
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
Parameters
- sqlStoreConnection
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
A ISfcConnection object.
- policyCategory
Type: System.String
A string value that specifies the policy.
Return Value
Type: System.Collections.IEnumerable
An IEnumerable object.
See Also