ServicePRO SDK Help

ManageObjectsServicesManager..::..GetObjectNameById Method

Gets the object name by identifier.

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

Syntax


public void GetObjectNameById(
	string sessionKey,
	clsEnumeration..::..hsTableName tableName,
	int objectId,
	Action<string, Exception> callbackAction
)
Public Sub GetObjectNameById ( _
	sessionKey As String, _
	tableName As clsEnumeration..::..hsTableName, _
	objectId As Integer, _
	callbackAction As Action(Of String, 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.
tableName
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsTableName
Name of the table.
objectId
Type: Int32
The object identifier.
callbackAction
Type: Action<(Of <(<'String, Exception>)>)>
The callback action.