Метод ItemById
Extracts a member from the JobStepCollection collection using a system-defined, unique identifier.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Function ItemById ( _
id As Integer _
) As JobStep
'Применение
Dim instance As JobStepCollection
Dim id As Integer
Dim returnValue As JobStep
returnValue = instance.ItemById(id)
public JobStep ItemById(
int id
)
public:
JobStep^ ItemById(
int id
)
member ItemById :
id:int -> JobStep
public function ItemById(
id : int
) : JobStep
Параметры
- id
Тип System. . :: . .Int32
An Int32 value that uniquely identifies the JobStep object that is a member of the JobStepCollection collection.
Возвращаемое значение
Тип Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobStep
A JobStepobject value that is specified by the ID value.