PlanGuideCollection.ItemById 方法

Returns a plan guide object as indicated by the identifier 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

参数

返回值

类型:Microsoft.SqlServer.Management.Smo.PlanGuide
The plan guide indicated by the identifier.

请参阅

参考

PlanGuideCollection 类

Microsoft.SqlServer.Management.Smo 命名空间