| Visual Basic | |
|---|---|
Sub Rollback3( _ ByVal lVersionNo As System.Integer, _ ByVal bsComment As System.String, _ ByVal vbRedirectParentRefs As System.Boolean _ ) | |
| C# | |
|---|---|
void Rollback3( System.int lVersionNo, System.string bsComment, System.bool vbRedirectParentRefs ) | |
| C++/CLI | |
|---|---|
void Rollback3( & System.int lVersionNo, & System.String^ bsComment, & System.bool vbRedirectParentRefs ) | |
Parameters
- lVersionNo
- Version number to which to roll this file back (see Remarks)
- bsComment
- Comment for the rollback
- vbRedirectParentRefs
- True to roll back the file with parent references, false to roll back the file without parent references
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.
IEdmEnumeratorVersion7 Interface
IEdmEnumeratorVersion7 Members
IEdmRevision7::Rollback3 Method ()
IEdmVersion8::Rollback3 Method ()
IEdmEnumeratorVersion7 Members
IEdmRevision7::Rollback3 Method ()
IEdmVersion8::Rollback3 Method ()
SOLIDWORKS PDM Professional 2017