ServicePRO SDK Help

ManageObjectsServicesManager..::..RetireTeam Method

Retires the team.

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

Syntax


public void RetireTeam(
	string sessionKey,
	int TeamId,
	bool Commit,
	bool Validate,
	bool BypassValidation,
	Action<string, bool, bool, Exception> callbackAction
)
Public Sub RetireTeam ( _
	sessionKey As String, _
	TeamId As Integer, _
	Commit As Boolean, _
	Validate As Boolean, _
	BypassValidation As Boolean, _
	callbackAction As Action(Of String, Boolean, 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.
TeamId
Type: Int32
The team identifier.
Commit
Type: Boolean
set to true if commit the action.
Validate
Type: Boolean
set to true if need validate during data saving.
BypassValidation
Type: Boolean
set to true if bypass validation.
callbackAction
Type: Action<(Of <(<'String, Boolean, Boolean, Exception>)>)>
The callback action.