This method deletes or marks for deletion all of the Process Framework and ArcMap relevant version data associated with a deleted node. The PxApplication property must be set before the Delete() method is called.
            
            
            
    The following code sample demonstrates how the IMMPxDeleter::Delete method may be implemented.
    
        
            
                | Visual Basic |  Copy Code | 
            
                | 
                        
                            
                                
                                    | Private Sub IMMPxDeleter_Delete(ByVal pPxNode As Miner.Interop.Process.IMMPxNode, _sMsg As String, Status As Long)
 Dim pExt As IMMSessionManager
 Set pExt = m_pPxApp.FindPxExtensionByName("MMSessionManager")
 
 Dim pVersion As IMMSessionVersion
 Set pVersion = pExt.GetSession(pPxNode.Id, False)
 
 If pVersion Is Nothing Then
 MsbBox "Could not find Session node "
 End If
 
 Status = DeleteArcData(pPxNode, pVersion, sMsg)
 If Status = 0 Then
 If Not (RemoveSession(m_pPxApp, pPxNode.Id, False)) Then Exit Sub
 Else
 pVersion.Status = 4
 End If
 End Sub
 |  | 
        
    
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.