Méthode ObjectSet.CalculateTargets (SqlStoreConnection, String)
Calculates an expression with results applied to the targets.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Public Function CalculateTargets ( _
sqlStoreConnection As SqlStoreConnection, _
policyCategory As String _
) As IEnumerable
'Utilisation
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
Paramètres
- sqlStoreConnection
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
A ISfcConnection object.
- policyCategory
Type : System.String
A string value that specifies the policy.
Valeur de retour
Type : System.Collections.IEnumerable
An IEnumerable object.