ServicePRO SDK Help

ManageObjectsServicesManager..::..GetComboRecordset Method

Gets the combo recordset.

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

Syntax


public void GetComboRecordset(
	string sessionKey,
	ObservableCollection<Dictionary<string, Object>> dsMetaData,
	int LngRecordCount,
	long UserPriv,
	Action<int, IEnumerable<Dictionary<string, Object>>, Exception> callbackAction
)
Public Sub GetComboRecordset ( _
	sessionKey As String, _
	dsMetaData As ObservableCollection(Of Dictionary(Of String, Object)), _
	LngRecordCount As Integer, _
	UserPriv As Long, _
	callbackAction As Action(Of Integer, IEnumerable(Of Dictionary(Of String, Object)), 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.
dsMetaData
Type: ObservableCollection<(Of <(<'Dictionary<(Of <(<'String, Object>)>)>>)>)>
dsMetaData.Tables[0].Rows[0]["AssociatedTblID"]
LngRecordCount
Type: Int32
The count of returned record.
UserPriv
Type: Int64
The user priv.(if 0, only return record of isapproved == -1)
callbackAction
Type: Action<(Of <(<'Int32, IEnumerable<(Of <(<'Dictionary<(Of <(<'String, Object>)>)>>)>)>, Exception>)>)>
The callback action.