ServicePRO SDK Help

RequestServicesManager..::..GetScheduleTimeInBusinessHours Method

Gets the schedule time in business hours.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void GetScheduleTimeInBusinessHours(
	string userSessionKey,
	clsEnumeration..::..ScheduleTimeType scheduleTimeType,
	int givenSchedule,
	DateTime dateFrom,
	Action<DateTime, Exception> callbackAction
)
Public Sub GetScheduleTimeInBusinessHours ( _
	userSessionKey As String, _
	scheduleTimeType As clsEnumeration..::..ScheduleTimeType, _
	givenSchedule As Integer, _
	dateFrom As DateTime, _
	callbackAction As Action(Of DateTime, Exception) _
)

Parameters

userSessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
scheduleTimeType
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..ScheduleTimeType
Type of the schedule time.(option of time duration)
givenSchedule
Type: Int32
The given schedule.(Int format of option of time duration)
dateFrom
Type: DateTime
The starting date time.
callbackAction
Type: Action<(Of <(<'DateTime, Exception>)>)>
The callback action.