| Visual Basic | |
|---|---|
Sub Rollback2( _ ByVal lVersionNo As System.Integer, _ ByVal bsComment As System.String _ ) | |
| C# | |
|---|---|
void Rollback2( System.int lVersionNo, System.string bsComment ) | |
| C++/CLI | |
|---|---|
void Rollback2( & System.int lVersionNo, & System.String^ bsComment ) | |
Parameters
- lVersionNo
- Version number to which to roll this file back (see Remarks)
- bsComment
- Comment for the rollback
This method destroys all versions after the version specified by lVersionNo. There is no undoing of the operation short of restoring a backup of the entire database and file archives.
After this method completes successfully, lVersionNo is the new latest version of the file.
- S_OK: The method successfully executed.
- E_EDM_INVALID_REVISION_NUMBER: The specified version number is out of bounds.
- E_EDM_PERMISSION_DENIED: The user lacks permission to delete files.
IEdmEnumeratorVersion6 Interface
IEdmEnumeratorVersion6 Members
IEdmVersion6::Rollback2 Method ()
IEdmRevision6::Rollback2 Method ()
IEdmEnumeratorVersion6 Members
IEdmVersion6::Rollback2 Method ()
IEdmRevision6::Rollback2 Method ()
SOLIDWORKS PDM Professional 2015