ISService.DeletedId

Description

The indicator that the object has already been deleted. It is equal to 0 if the object is not deleted, otherwise it is equal to the object ID.

Syntax

object.DeletedId

Part Attribute Type Description
object Required
The object always implements the ISService interface
Restriction: This property is readonly.

Return Value

int

Example

Display some information about the service.

sub main()
Dim aService
Dim aMessage
  
  Set aService = Profile.LoadServiceById(296) 'the stored Id of the service which may be already deleted

  aMessage = aMessage & vbNewLine & "----------------------------" & vbNewLine &_
    "Description: " & aService.Description & vbNewLine &_
    "Code: " & aService.Code & vbNewLine &_
    "Added: " & aService.Added & vbNewLine &_
    "Changed: " & aService.Changed & vbNewLine &_
    "Status: " & aService.Status & vbNewLine &_
    "ID: " & aService.ID & vbNewLine &_
    "Output Code: " & aService.OutputCode & vbNewLine &_
    "Default Delivery Time: " & aService.DefaultDeliveryTime & vbNewLine &_
    "Deleted Id: " & aService.DeletedId & vbNewLine

  Profile.MsgBox(aMessage)  
end sub
Note:

In Profile Client v8 on User Interface Deleted ID cannot be found.

Version information

Added in v7.8.0