SOLIDWORKS PDM Professional API Help Send Feedback
Rollback Method (IEdmVersion5)
See Also 
EPDM.Interop.epdm Namespace > IEdmVersion5 Interface : Rollback Method (IEdmVersion5)


Obsolete. Superseded by IEdmVersion6::Rollback2.

Syntax

Visual Basic 
Sub Rollback() 
C# 
void Rollback()
C++/CLI 
void Rollback(); 

Remarks

This method deletes both the file data and the file data card data when it deletes versions. You cannot undo this rollback, unless you restore a complete backup of the database and the file archives.

Return codes: 

  • S_OK: The method successfully executed.
  • E_EDM_PERMISSION_DENIED: The user does not have permission to delete files.
  • E_EDM_INVALID_REVISION_NUMBER: The version does not exist.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2