Partager via


Méthode ObjectSet.CalculateTargets (ISfcConnection)

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 ( _
    targetConnection As ISfcConnection _
) As IEnumerable
'Utilisation
Dim instance As ObjectSet 
Dim targetConnection As ISfcConnection 
Dim returnValue As IEnumerable 

returnValue = instance.CalculateTargets(targetConnection)
public IEnumerable CalculateTargets(
    ISfcConnection targetConnection
)
public:
IEnumerable^ CalculateTargets(
    ISfcConnection^ targetConnection
)
member CalculateTargets : 
        targetConnection:ISfcConnection -> IEnumerable
public function CalculateTargets(
    targetConnection : ISfcConnection
) : IEnumerable

Paramètres

Valeur de retour

Type : System.Collections.IEnumerable
An IEnumerable object.

Notes

The ObjectSet object represents a policy-based management set of objects. A target object set is the resulting set of target objects after applying a filter to an instance of SQL Server. Using a Filter object, you can create a Urn object which you can use to create an XPath expression. The XPath expression can be used to specify a skeleton XPath expression which filters the target objects out of the object set.

Voir aussi

Référence

ObjectSet Classe

Surcharge CalculateTargets

Espace de noms Microsoft.SqlServer.Management.Dmf