ServicePRO SDK Help

ManageObjectsServicesManager..::..GetProductsList Method

Gets the whole products list.

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

Syntax


public void GetProductsList(
	string sessionKey,
	Action<IEnumerable<stcListItem>, Exception> callbackAction
)
Public Sub GetProductsList ( _
	sessionKey As String, _
	callbackAction As Action(Of IEnumerable(Of stcListItem), 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.
callbackAction
Type: Action<(Of <(<'IEnumerable<(Of <(<'stcListItem>)>)>, Exception>)>)>
The callback action.