Compartir a través de


CalculateTargets Método (SqlStoreConnection, String)

Calculates an expression with results applied to the targets.

Espacio de nombres:  Microsoft.SqlServer.Management.Dmf
Ensamblado:  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Sintaxis

'Declaración
Public Function CalculateTargets ( _
    sqlStoreConnection As SqlStoreConnection, _
    policyCategory As String _
) As IEnumerable
'Uso
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

Parámetros

Valor devuelto

Tipo: System.Collections. . :: . .IEnumerable
An IEnumerable object.