ServicePRO SDK Help

ManageObjectsServicesManager..::..GetFolders Method

Gets the folders by object identifier.

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

Syntax


public void GetFolders(
	string sessionKey,
	int objectId,
	int objectTypeId,
	Action<ObservableCollection<stcAttachmentFolder>, Exception> callbackAction
)
Public Sub GetFolders ( _
	sessionKey As String, _
	objectId As Integer, _
	objectTypeId As Integer, _
	callbackAction As Action(Of ObservableCollection(Of stcAttachmentFolder), 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.
objectId
Type: Int32
The object identifier.
objectTypeId
Type: Int32
The object type identifier.
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'stcAttachmentFolder>)>)>, Exception>)>)>
The callback action.