This documentation is archived and is not being maintained.

CheckInOptions2 Enumeration

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)

public enum CheckInOptions2

Member nameDescription
AllContentUploadedThe server will permit a call to CheckIn with a null or empty list of items to check in, (checkin /all) even if there is a change with the edit bit set.

AllowUnchangedContentt=The server will allow items which have a pending edit to be checked in even if the content hasn't changed instead of undoing the change (default)

DeleteShelvesetDelete the shelveset after a successful submission into the repository

NoAutoResolveUsed only on the client. Instructs the client not to try to auto resolve conflicts

NoConflictsCheckForGatedCheckInThis flag only affects the server's behavior when the server paths being checked in affect a gated build definition. In this case the server will ordinarily call CheckPendingChanges before shelving the workspace and throwing back a GatedCheckinException. If the call to CheckPendingChanges creates conflicts, then no GatedCheckinException will be thrown; instead CheckIn fails and informs the user that they must resolve their conflicts. If this flag is specified, this call to CheckPendingChanges is skipped. This allows the gated checkin shelveset to be created even when the items being checked in are not at latest, for example. The build agent workspace will unshelve the shelveset and attempt to resolve conflicts at that time.


OverrideGatedCheckInBypass gated checkin validation for this checkin

QueueBuildForGatedCheckInAutomatically queue the build for gated checkin validation if it is possible

SuppressEventSuppress events for this checkin

ValidateCheckInOwnerMake sure that the identity specified as the checkin owner refers to a valid user