TeamProjectFolderOptions Class

This class is used to describe the initial configuration of a newly created team project. This allows the creator to control the initial access, checkin notes, whether exclusive checkout is enforced or not and whether get latest on checkout is enforced.


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

public class TeamProjectFolderOptions

The TeamProjectFolderOptions type exposes the following members.

Public propertyCheckinNoteDefinitionThis is used to create a checkin note definition for the root of the team project.
Public propertyCommentThis comment is used for the comment stored in the checkin associated with creating the Team Project. It is an optional comment.
Public propertyExclusiveCheckoutThe ExclusiveCheckout option allows the creator to require all pending changes on items be exclusive, not letting more than a single user to pend chanes at the same time.
Public propertyGetLatestOnCheckoutThe GetLatestOnCheckout option allows the creator to require all attempts to pend edits on items to retrieve the latest version of those items as part of the operation.
Public propertyPermissionsThis is used to configure what the default set of permissions for a set of users and groups will be to the tree when the tree is created.
Public propertySourceProjectThe branch source is used to mark the source location in the tree to branch the TeamProject from. The branches are always created by branching the latest version of the source tree. If the Source Project is not specified then the team project folder is created as a new emtpy folder.
Public propertyTeamProjectThe team project folder is a required value and specifies the name of the folder created for the team project.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.