ServicePRO SDK Help

RequestServicesManager..::..GetNextBusinessDay Method

Gets the date of next business day.

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

Syntax


public void GetNextBusinessDay(
	string userSessionKey,
	DateTime fromDate,
	int days,
	Action<DateTime, Exception> callbackAction
)
Public Sub GetNextBusinessDay ( _
	userSessionKey As String, _
	fromDate As DateTime, _
	days As Integer, _
	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.
fromDate
Type: DateTime
Starting date.
days
Type: Int32
The number of days.
callbackAction
Type: Action<(Of <(<'DateTime, Exception>)>)>
The callback action.