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


bsComment
Comment for this rollback
Obsolete. Superseded by IEdmVersion8::Rollback3.

Syntax

Visual Basic 
Sub Rollback2( _
   ByVal bsComment As System.String _
) 
C# 
void Rollback2( 
   System.string bsComment
)
C++/CLI 
void Rollback2( 
&   System.String^ bsComment
) 

Parameters

bsComment
Comment for this 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 2015