Metodo CalculateTargets (SqlStoreConnection, String)
Calculates an expression with results applied to the targets.
Spazio dei nomi Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Sintassi
'Dichiarazione
Public Function CalculateTargets ( _
sqlStoreConnection As SqlStoreConnection, _
policyCategory As String _
) As IEnumerable
'Utilizzo
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
Parametri
- sqlStoreConnection
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlStoreConnection
A ISfcConnection object.
- policyCategory
Tipo: System. . :: . .String
A string value that specifies the policy.
Valore restituito
Tipo: System.Collections. . :: . .IEnumerable
An IEnumerable object.
Vedere anche