This documentation is archived and is not being maintained.

WorkspaceCheckInParameters::NoConflictsCheckForGatedCheckin Property

This 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.

This is a liberalization of the default behavior. Therefore, the default value for this flag is false.

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

public:
property bool NoConflictsCheckForGatedCheckin {
	bool get ();
	void set (bool value);
}

Property Value

Type: System::Boolean
True if the call to CheckPendingChanges will be skipped; otherwise, false.

Show: