次の方法で共有


PlanGuideCollection.ItemById メソッド

プラン ガイドの識別子で指定されたプラン ガイド オブジェクトを返します。

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

構文

'宣言
Public Function ItemById ( _
    id As Integer _
) As PlanGuide
'使用
Dim instance As PlanGuideCollection 
Dim id As Integer 
Dim returnValue As PlanGuide 

returnValue = instance.ItemById(id)
public PlanGuide ItemById(
    int id
)
public:
PlanGuide^ ItemById(
    int id
)
member ItemById : 
        id:int -> PlanGuide
public function ItemById(
    id : int
) : PlanGuide

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Smo.PlanGuide
識別子で指定されたプラン ガイドです。

関連項目

参照

PlanGuideCollection クラス

Microsoft.SqlServer.Management.Smo 名前空間