ServicePRO SDK Help

ManageObjectsServicesManager..::..CheckIfNameDuplicate Method

Check the name exists or not.

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

Syntax


public void CheckIfNameDuplicate(
	string sessionKey,
	stcSearchFieldPass searchField,
	Action<int, bool, Exception> callbackAction
)
Public Sub CheckIfNameDuplicate ( _
	sessionKey As String, _
	searchField As stcSearchFieldPass, _
	callbackAction As Action(Of Integer, Boolean, 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.
searchField
Type: HelpSTAR.PCL.Common..::..stcSearchFieldPass
The field need to check.
callbackAction
Type: Action<(Of <(<'Int32, Boolean, Exception>)>)>
The callback action.(If not found, will receive identifier:-1, result:False)