共用方式為


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.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.TeamProjectFolderOptions

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

Syntax

'Declaration
Public Class TeamProjectFolderOptions
public class TeamProjectFolderOptions
public ref class TeamProjectFolderOptions
type TeamProjectFolderOptions =  class end
public class TeamProjectFolderOptions

The TeamProjectFolderOptions type exposes the following members.

Constructors

  Name Description
Public method TeamProjectFolderOptions

Top

Properties

  Name Description
Public property CheckinNoteDefinition This is used to create a checkin note definition for the root of the team project.
Public property Comment This comment is used for the comment stored in the checkin associated with creating the Team Project. It is an optional comment.
Public property ExclusiveCheckout The 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 property GetLatestOnCheckout The 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 property Permissions This 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 property SourceProject The 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 property TeamProject The team project folder is a required value and specifies the name of the folder created for the team project.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Server Namespace