ServicePRO SDK Help

RequestServicesManager..::..SaveTreeToTreeChages Method

Saves the tree data after tree is changed.

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

Syntax


public void SaveTreeToTreeChages(
	string userSessionKey,
	int ChildId,
	int ParentId,
	int originalParentId,
	bool Rearrange,
	Action<string, bool, Exception> callbackAction
)
Public Sub SaveTreeToTreeChages ( _
	userSessionKey As String, _
	ChildId As Integer, _
	ParentId As Integer, _
	originalParentId As Integer, _
	Rearrange As Boolean, _
	callbackAction As Action(Of String, Boolean, 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.
ChildId
Type: Int32
The child identifier.
ParentId
Type: Int32
The parent identifier.
originalParentId
Type: Int32
The original parent identifier.
Rearrange
Type: Boolean
set to true if this is rearrange.
callbackAction
Type: Action<(Of <(<'String, Boolean, Exception>)>)>
The callback action.