JobScheduleCollection.Item Property (Int32)
Gets a JobSchedule object in the collection by index number.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As JobSchedule
Get
'Usage
Dim instance As JobScheduleCollection
Dim index As Integer
Dim value As JobSchedule
value = instance(index)
public JobSchedule this[
int index
] { get; }
public:
property JobSchedule^ default[int index] {
JobSchedule^ get (int index);
}
member Item : JobSchedule
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
An Int32 value that specifies the position of the JobSchedule object in the JobScheduleCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Agent.JobSchedule
A JobSchedule object value that represents the job schedule.