ServicePRO SDK Help

ObjectDesignerManager..::..CheckIfFieldUsedAsync Method

Check whether the field is used.

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

Syntax


public Task<Tuple<string, bool, ObservableCollection<stcListItem>>> CheckIfFieldUsedAsync(
	string userSessionKey,
	int TableId,
	int TabId,
	ObservableCollection<stcListItem> aFieldIds
)
Public Function CheckIfFieldUsedAsync ( _
	userSessionKey As String, _
	TableId As Integer, _
	TabId As Integer, _
	aFieldIds As ObservableCollection(Of stcListItem) _
) As Task(Of Tuple(Of String, Boolean, ObservableCollection(Of stcListItem)))

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.
TableId
Type: Int32
The table identifier.
TabId
Type: Int32
The tab identifier.
aFieldIds
Type: ObservableCollection<(Of <(<'stcListItem>)>)>
Collection of field identifier.

Return Value

Task with tuple of bool, observable collection of field IDs sent for in use check, message string