ServicePRO SDK Help

ManageObjectsServicesManager..::..GetBusinessDate Method

Gets the business date after plus the number of days an minutes.

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

Syntax


public void GetBusinessDate(
	string sessionKey,
	DateTime CurrentDate,
	int Days,
	int Minutes,
	Action<DateTime, Exception> callbackAction
)
Public Sub GetBusinessDate ( _
	sessionKey As String, _
	CurrentDate As DateTime, _
	Days As Integer, _
	Minutes As Integer, _
	callbackAction As Action(Of DateTime, Exception) _
)

Parameters

sessionKey
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.
CurrentDate
Type: DateTime
The current date.
Days
Type: Int32
Number of days.
Minutes
Type: Int32
Number of minutes.
callbackAction
Type: Action<(Of <(<'DateTime, Exception>)>)>
The callback action.