ServicePRO SDK Help

RequestServicesManager..::..ValidateMoveAndCloseNewProject Method

Validates the possibility of moving or closing a project.

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

Syntax


public void ValidateMoveAndCloseNewProject(
	string userSessionKey,
	HierarchyItemCollection projectCollection,
	int selectedProjectId,
	Action<bool, string, Exception> callbackAction
)
Public Sub ValidateMoveAndCloseNewProject ( _
	userSessionKey As String, _
	projectCollection As HierarchyItemCollection, _
	selectedProjectId As Integer, _
	callbackAction As Action(Of Boolean, String, 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.
projectCollection
Type: HelpSTAR.Hybrid.Common..::..HierarchyItemCollection
The project collection.
selectedProjectId
Type: Int32
The selected project identifier.
callbackAction
Type: Action<(Of <(<'Boolean, String, Exception>)>)>
The callback action.