3.1.6.2.1.2 Delete

  1. Let DeleteDN be a distinguished name, initialized to be empty.

  2. If iDirectoryObject.FullPath is populated, the value of iDirectoryObject.FullPath MUST be copied to DeleteDN.

  3. If DeleteDN is empty and iDirectoryObject.ComputerName is populated, a distinguished name for the mSMQConfiguration object to be deleted MUST be constructed according to the format specified in section 2.2.1, where "<computer name>" is the value of iDirectoryObject.ComputerName.

  4. A Delete Object Using LDAP (section 3.1.6.13) event MUST be generated with the following arguments:

    • iPath := DeleteDN

    • iGuid := iDirectoryObject.Identifier

  5. If the Delete Object Using LDAP event returns an rStatus that is not DirectoryOperationResult.Success, rStatus MUST be set to the rStatus returned by the Delete Object Using LDAP event, and processing MUST end.