次の方法で共有


CalculateTargets メソッド (ISfcConnection)

式を計算して結果を対象に適用します。

名前空間:  Microsoft.SqlServer.Management.Dmf
アセンブリ:  Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)

構文

'宣言
Public Function CalculateTargets ( _
    targetConnection As ISfcConnection _
) As IEnumerable
'使用
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

パラメーター

戻り値

型: System.Collections. . :: . .IEnumerable
IEnumerable オブジェクトです。

説明

ObjectSet オブジェクトは、オブジェクトのポリシー ベースの管理セットを表します。対象オブジェクト セットは、フィルターを SQL Server のインスタンスに適用した後の対象オブジェクトの結果セットです。Filter オブジェクトを使用すると、XPath 式の作成に使用できる Urn オブジェクトを作成できます。XPath 式は、オブジェクト セットから対象オブジェクトを抽出するスケルトンの XPath 式を指定する場合に使用できます。