SourceControlStatuses
- Updated2025-07-21
- 1 minute(s) read
SourceControlStatuses
These constants represent the return values of the WorkspaceObject.SourceControlStatus property. Use the bitwise-AND operator with the return value to determine whether any of these flags are set.
- SCStatus_CheckedOut –(Value: 0x2) Specifies that the file is checked out by you to a directory where TestStand expects the file to be. The SCStatus_CheckedOutByUser flag must also be on for this flag to be on. If SCStatus_CheckedOutByUser is on but SCStatus_CheckedOut is off, the file is checked out to a different directory.
- SCStatus_CheckedOutByUser –(Value: 0x1000) Specifies that the file is checked out by you independent of the directory location.
- SCStatus_CheckedOutMultiple –(Value: 0x10) Specifies that the file is checked out by multiple users. The file might or might not be checked out by you.
- SCStatus_CheckedOutOther –(Value: 0x4) Specifies that the file is checked out by a user other than you. If this flag is on and SCStatus_CheckedOutMultiple and SCStatus_CheckedOutByUser are also on, both the current user and some other user have the file checked out. If this flag and SCStatus_CheckedOutMultiple are on but SCStatus_CheckedOutByUser is off, the current user does not have the file checked out, but several other users do.
- SCStatus_Deleted –(Value: 0x40) Specifies that the file has been deleted from the project under source code control.
- SCStatus_InSC –(Value: 0x1) Specifies that the file is under source code control.
- SCStatus_NotInSC –(Value: 0x0) Specifies that the file is not under source code control.
- SCStatus_OutOfDate –(Value: 0x20) Specifies that the version you have is not the latest version of the file.