ServicePRO SDK Help

ManageObjectsServicesManager..::..FillCompanyType Method

Fills the type of company.

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

Syntax


public void FillCompanyType(
	string sessionKey,
	int companyId,
	Action<IEnumerable<stcListItem>, Exception> callbackAction
)
Public Sub FillCompanyType ( _
	sessionKey As String, _
	companyId As Integer, _
	callbackAction As Action(Of IEnumerable(Of stcListItem), 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.
companyId
Type: Int32
The company identifier.
callbackAction
Type: Action<(Of <(<'IEnumerable<(Of <(<'stcListItem>)>)>, Exception>)>)>
The callback action.