SourceControlCommands

This data type contains values that specify source code control commands. Use one of these values to specify the scCommand parameter of the WorkspaceObject.DoSourceControlCommand and WorkspaceObject.CanDoSourceControlCommand methods.

  • SCCmd_AddToSC –(Value: 1) Adds the specified files to source code control.
  • SCCmd_CheckIn –(Value: 4) Checks in the specified files to source code control.
  • SCCmd_CheckOut –(Value: 3) Checks out the specified files from source code control.
  • SCCmd_GetLatest –(Value: 5) Obtains the latest version of the specified files from source code control.
  • SCCmd_RemoveFromSC –(Value: 2) Removes the specified files from source code control.
  • SCCmd_ShowDifferences –(Value: 7) Shows the differences between the latest version in source code control and the local version of the specified file.
  • SCCmd_ShowHistory –(Value: 8) Shows the source code control history of the specified file.
  • SCCmd_ShowProperties –(Value: 9) Shows the source code control properties of the specified file.
  • SCCmd_ShowProviderOptions –(Value: 10) Launches the source code control provider options dialog box.
  • SCCmd_UndoCheckOut –(Value: 6) Undoes the check out of the specified files from source code control.

See Also

WorkspaceObject.CanDoSourceControlCommand

WorkspaceObject.DoSourceControlCommand