MigrateRoutine Method
Description
Migrate an existing measurement routine
Syntax
Visual Basic |
---|
Public Function MigrateRoutine( _ ByVal FileName As String, _ ByVal MachineName As String, _ ByVal MigratedWithReportPath As String, _ ByVal MigratedWithoutReportPath As String, _ ByRef out_StatusCode As OpenRoutineStatus _ ) As Long |
Parameters
- FileName
- MachineName
- MigratedWithReportPath
- MigratedWithoutReportPath
- out_StatusCode
Value Description BranchMismatchError PC-DMIS cannot open the routine due to a branch mismatch error. This has a value of 8. CannotOpenRoutineFile PC-DMIS cannot open the routine. This status has a value of 4. DeserializationError PC-DMIS cannot open the routine because of a deserialization error. This has a value of 7. ErrorClosingRoutineFile PC-DMIS cannot open the routine because it cannot close the routine after it reads it. This has a value of 5. InternalError PC-DMIS cannot open the routine because of an internal error. This has a value of 3. OpenedBackupCopy PC-DMIS opened a backup copy of the routine instead of the main routine. This has a value of 2. PcdmisIsOpeningAnotherRoutine PC-DMIS cannot open the routine because it is in the process of opening another routine. This has a value of 10. RoutineFileDoesNotExist PC-DMIS cannot open the routine because the routine file does not exist. This has a value of 6. RoutineIsNewerError PC-DMIS cannot open the routine because the routine is newer than the version of PC-DMIS. This has a value of 9. RoutineIsTooOldError RoutineOpened PC-DMIS opened the routine without any errors. This has a value of 1. UnknownStatus PC-DMIS cannot open the routine due to an unknown cause. This has a value of 0.
See Also