ServicePRO SDK Help

KnowledgeBaseServiceManager..::..HasAttachments Method

Determines whether this object has attachments.

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

Syntax


public void HasAttachments(
	int objectId,
	int objectTypeId,
	string userSessionKey,
	Action<bool, Exception> callbackAction
)
Public Sub HasAttachments ( _
	objectId As Integer, _
	objectTypeId As Integer, _
	userSessionKey As String, _
	callbackAction As Action(Of Boolean, Exception) _
)

Parameters

objectId
Type: Int32
The object identifier.
objectTypeId
Type: Int32
The object type identifier.
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.
callbackAction
Type: Action<(Of <(<'Boolean, Exception>)>)>
The callback action.