ServicePRO SDK Help

RequestServicesManager..::..GetIdByName Method

Gets the the object identifier by object name and table name.

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

Syntax


public void GetIdByName(
	string userSessionKey,
	clsEnumeration..::..hsTableName tableName,
	string objectName,
	Action<int, Exception> callBackAction
)
Public Sub GetIdByName ( _
	userSessionKey As String, _
	tableName As clsEnumeration..::..hsTableName, _
	objectName As String, _
	callBackAction As Action(Of 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.
tableName
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsTableName
Name of the table.
objectName
Type: String
Name of the object.
callBackAction
Type: Action<(Of <(<'Int32, Exception>)>)>
The call back action.