SCCStatus
This property of the File object tells you the status of a file within the source code control system.
Usage |
nStatus = filFile.SCCStatus |
Property |
Value |
Purpose |
SCCStatus |
0 |
File is not under source code control. |
1 |
File is checked in. |
|
2 |
File is checked out to you. |
|
3 |
File is checked out to someone else. |
|
4 |
File has a merge conflict. |
|
5 |
File has been merged. |
|
6 |
File is checked out to multiple users—watch out! |
Example |
#INCLUDE FOXPRO.H oFile = oProject.Files[1] IF oFile.SCCStatus = SCCFILE_CHECKEDOUTMU MessageBox(oFile.Name + " is checked out multiple times!" ENDIF |
See Also |
AddToSCC, CheckIn, CheckOut, File, RemoveFromSCC, SCCProvider |