ItemById 方法

Returns a plan guide object as indicated by the ID property of that plan guide.

命名空间:  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

参数