<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
Rollback Method (IEdmVersion5)
See Also

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace > IEdmVersion5 Interface : Rollback Method (IEdmVersion5)

Visual Basic
C#
C++/CLI
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

####

IEdmVersion5 Interface
IEdmVersion5 Members
IEdmEnumeratorVersion5::Rollback Method ()

# Availability

SOLIDWORKS PDM Professional Version 5.2