PlanGuideCollection.ItemById Método
Returns a plan guide object as indicated by the identifier of that plan guide.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function ItemById ( _
id As Integer _
) As PlanGuide
'Uso
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
Parámetros
- id
Tipo: System.Int32
The specified identifier.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo.PlanGuide
The plan guide indicated by the identifier.