ServicePRO SDK Help

RequestServicesManager..::..SaveNewProject Method

Saves the new project.

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

Syntax


public void SaveNewProject(
	string userSessionKey,
	HierarchyItemCollection projectTree,
	int maxLevel,
	stcMeetingRequestMessage mailMessage,
	Action<clsEnumeration..::..SaveProjectStatus, int, Exception> callbackAction
)
Public Sub SaveNewProject ( _
	userSessionKey As String, _
	projectTree As HierarchyItemCollection, _
	maxLevel As Integer, _
	mailMessage As stcMeetingRequestMessage, _
	callbackAction As Action(Of clsEnumeration..::..SaveProjectStatus, Integer, 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.
projectTree
Type: HelpSTAR.Hybrid.Common..::..HierarchyItemCollection
The project tree information.
maxLevel
Type: Int32
The maximum level of the project.
mailMessage
Type: HelpSTAR.PCL.Common..::..stcMeetingRequestMessage
The meeting request message.
callbackAction
Type: Action<(Of <(<'clsEnumeration..::..SaveProjectStatus, Int32, Exception>)>)>
The callback action.