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
參數
- id
型別:System.Int32
The specified identifier.
傳回值
型別:Microsoft.SqlServer.Management.Smo.PlanGuide
The plan guide indicated by the identifier.