ServicePRO SDK Help

ManageObjectsServicesManager..::..GetGenericObjectName Method (String, String, Boolean, Action<(Of <(<'Object, String, Exception>)>)>, Object)

Gets the name of the generic object.

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

Syntax


public void GetGenericObjectName(
	string sessionKey,
	string hsmdObject,
	bool returnVisibility,
	Action<Object, string, Exception> callbackAction,
	Object userState
)
Public Sub GetGenericObjectName ( _
	sessionKey As String, _
	hsmdObject As String, _
	returnVisibility As Boolean, _
	callbackAction As Action(Of Object, String, 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.
hsmdObject
Type: String
The HSMD object.
returnVisibility
Type: Boolean
set to true [if just need to return visible objects].(Default:true)
callbackAction
Type: Action<(Of <(<'Object, String, Exception>)>)>
The callback action.
userState
Type: Object
State of the user.(Object)