ServicePRO SDK Help

ManageObjectsServicesManager..::..GetListCount Method (String, String, String, String, Action<(Of <(<'Object, Int32, Exception>)>)>, Object)

Gets the list count.

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

Syntax


public void GetListCount(
	string sessionKey,
	string hsObject,
	string hsObjectStatus,
	string extraAndCondition,
	Action<Object, int, Exception> callbackAction,
	Object userState
)
Public Sub GetListCount ( _
	sessionKey As String, _
	hsObject As String, _
	hsObjectStatus As String, _
	extraAndCondition As String, _
	callbackAction As Action(Of Object, Integer, Exception), _
	userState As Object _
)

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.
hsObject
Type: String
HelpSTAR object type.(clsEnumeration.hsHelpStarObject)
hsObjectStatus
Type: String
HelpSTAR object status. (clsEnumeration.hsObjectStatus)
extraAndCondition
Type: String
The extra and condition.(e.g. "vendorid=2")
callbackAction
Type: Action<(Of <(<'Object, Int32, Exception>)>)>
The callback action.
userState
Type: Object
State of the user.(Default:true)