3.1.7.1.19 Delete Directory Object
This event MUST be generated with the following argument:
iDirectoryObject: A DirectoryObject ADM element instance to be deleted from the directory.
Return Value:
rStatus: A DirectoryOperationResult that indicates the result of this directory operation.
The queue manager MUST perform the following actions to process this event:
If the iDirectoryObject argument is of type Queue (section 3.1.1.2) and iDirectoryObject.QueueType is PublicQueue:<23>
Generate a Send Change Notification ([MS-MQCN] section 3.3.4.1) event with the following arguments:
iOperation := QueueDeletion
iDirectoryObject := iDirectoryObject
Generate the Delete Directory Object ([MS-MQDSSM] section 3.1.6.2) event<24> with the arguments supplied for this event.
If the rStatus returned from processing of the invoked event is DirectoryOperationResult.DirectoryNotConnected:
Set QueueManager.DirectoryOffline to True.
Start the Directory Online Timer (section 3.1.2.5) if it is not active already.
Set rStatus to DirectoryOperationResult.DirectoryNotConnected.
Else:
Set rStatus to the rStatus returned from the invoked event.