GetScheduleOccurrenceInfos Method
- Last UpdatedApr 15, 2025
- 1 minute read
Gets a collection of records of the ScheduleOccurrenceInfo lightweight object type based on the specified criteria.
'Declaration
Public Function GetScheduleOccurrenceInfos( _
ByVal criteria As String, _
ByVal token As String _
) As Collection(Of ScheduleOccurrenceInfo)
'Usage
Dim instance As SdkClient
Dim criteria As String
Dim token As String
Dim value As Collection(Of ScheduleOccurrenceInfo)
value = instance.GetScheduleOccurrenceInfos(criteria, token)
public Collection<ScheduleOccurrenceInfo> GetScheduleOccurrenceInfos(
string criteria,
string token
)
public:
Collection<ScheduleOccurrenceInfo^>^ GetScheduleOccurrenceInfos(
String^ criteria,
String^ token
)
Parameters
- criteria
- Where clause is to limit the result set. GetScheduleOccurrenceInfos without criteria will get all schedule occurrences. Users must have Schedule Manager view permissions on every plant, otherwise they will see a permission error. Therefore, it is recommended to use "WHERE Base_Id = 'base_Id'" when using this method
- token
- A security token retrieved via
AIMserver request
Return Value
A typed collection of ScheduleOccurrenceInfo objects.