Export (0) Print
Expand All

VersionControlServer Members

The VersionControlServer object represents the database.

The following tables list the members exposed by the VersionControlServer type.

  Name Description
Public property ArtifactProvider Gets the artifact provider for this server. 
Public property AuthenticatedUser Gets the identity used by the server to authenticate the user. 
Public property Canceled Gets or sets the flag to indicate whether the user asked to cancel the current operation. 
Public property Static ClientTracing Gets or sets the tracing level for all instances of VersionControlServer
Public property CurrentCommand Gets or sets the command currently being executed on the client-side. 
Public property ServerGuid Gets the GUID for the source control server's database. 
Public property TeamFoundationServer Gets the TeamFoundationServer object that owns this instance of VersionControlServer
Top

(see also Protected Methods )
  Name Description
Public method CreateLabel Creates or updates a label.  
Public method CreateTeamProjectFolder Creates a team project root folder and configures the folder's settings, permissions, and check-in notes.  
Public method CreateWorkspace Overloaded. Creates a new workspace.  
Public method DeleteLabel Deletes the workspace with the specified name and owner.  
Public method DeleteShelveset Overloaded. Removes a shelveset from the server.  
Public method DeleteWorkspace Deletes the workspace with the specified name and owner.  
Public method DownloadFile Overloaded. Downloads the latest version of a file from the server and puts its contents in a local file.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetAllCheckinNoteFieldNames Returns a list of all the checkin note fields that have ever been used in this database.  
Public method GetAllTeamProjects Gets the team projects in that are in the database.  
Public method GetBranchHistory Returns the branch history for the requested items.  
Public method GetChangeset Overloaded. Retrieves the details of a changeset.  
Public method GetCheckinNoteDefinitions Returns the field definitions supported for checkin note data.  
Public method GetCheckinNoteDefinitionsForServerPaths Returns the field definitions supported for checkin note data.  
Public method GetCheckinPoliciesForServerPaths Returns the list of check in policies for the specified team projects.  
Public method GetEffectiveGlobalPermissions Computes the global permissions for a user.  
Public method GetEffectivePermissions Computes the permissions for a user against a particular item. Applies the allow and deny lists, inheritance, and group membership rules to create a simple list of permissions the user has.  
Public method GetExtendedItems Overloaded. Retrieves a list of extended items in the database that match the specified criteria.  
Public method GetFileTypes Gets the list of FileTypes registered on the server.  
Public method GetGlobalPermissions Gets the global permissions for the selected users in the database.  
Public method GetHashCode  (Inherited from Object.)
Public method GetItem Overloaded. Gets the Item object for the path specified.  
Public method GetItems Overloaded. Retrieves a list of Items in the database.  
Public method GetLatestChangesetId Retrieves the changeset ID for the latest changeset in the database.  
Public method GetMergeCandidates Gets the merge candidates for merging between the requested items.  
Public method GetPendingChange Overloaded. Retrieves a pending change from the database, based on pending change ID.  
Public method GetPendingChanges Overloaded.
Public method GetPendingSets Gets the pending changes for the specified query.  
Public method GetPermissions Overloaded. Gets the permissions for items in the database.  
Public method GetTeamProject Gets the team project in the database having the corresponding name.  
Public method GetTeamProjectForServerPath Gets the team project for the specified server path.  
Public method GetTeamProjectsForServerPaths Gets the team projects in the database with the specified paths.  
Public method GetType  (Inherited from Object.)
Public method GetWorkspace Overloaded. Gets a workspace.  
Public method QueryHistory Overloaded.
Public method QueryLabels Overloaded. Queries for a list of labels applied to items in the database.  
Public method QueryMerges Queries the merge history of the requested item with an optional source.  
Public method QueryPendingSets Overloaded.
Public method QueryShelvedChanges Overloaded. Gets the shelved changes for the specified query.  
Public method QueryShelvesets Queries for a list of shelvesets with a given name and/or owner.  
Public method QueryWorkspaces Retrieves a list of workspaces that matches the specified name, owner, and computer.  
Public method Static ReferenceEquals  (Inherited from Object.)
Public method RenameCheckinNoteFieldName Renames all instances of a specified check-in note field in a specified team project folder.  
Public method ServerItemExists Overloaded. Returns true if the server item of the specified type is in the database.  
Public method SetFileTypes Sets the file types registered on the server.  
Public method SetGlobalPermissions Sets the permissions for items in the database.  
Public method SetPermissions Sets the permissions for items in the database.  
Public method ToString  (Inherited from Object.)
Public method TryGetTeamProject Gets the specified team project from the database.  
Public method TryGetTeamProjectForServerPath Gets the team project for the specified server path.  
Public method TryGetWorkspace Gets the workspace for the given path.  
Public method UnlabelItem Removes a label that is applied to an item.  
Public method UpdateUserName Update the display name for this user on the server.  
Top

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)
Top

  Name Description
Public event AfterWorkItemsUpdated Occurs when updating work items with a check-in. 
Public event BeforeCheckinPendingChange Occurs when you check in a pending change. 
Public event BeforeDeleteWorkspace Occurs when you delete an existing workspace. 
Public event BeforeShelvePendingChange Occurs before shelving a pending change. 
Public event BeforeWorkItemsUpdate Occurs before updating work items with a check-in. 
Public event CommitCheckin Occurs when a new check-in is committed. 
Public event CommitShelveset Occurs when a new shelveset is created. 
Public event Conflict Occurs when a conflict is created. 
Public event CreatedWorkspace Occurs when a workspace is created. 
Public event DeletedShelveset Occurs when a shelveset is deleted. 
Public event DeletedWorkspace Occurs when a workspace is deleted. 
Public event Getting Occurs during a get operation. 
Public event Merging Occurs during a merge operation. 
Public event NewPendingChange Occurs when a new pending change is created. 
Public event NonFatalError Occurs when errors are detected that do not prevent the operation from completing. 
Public event OperationFinished Occurs when an operation finishes, such as when a set of changes finish pending. 
Public event OperationStarting Occurs when an operation starts, such as when a set of changes start pending. 
Public event ResolvedConflict Occurs when a conflict is resolved. 
Public event UndonePendingChange Occurs when an existing pending change is undone. 
Public event UnshelveShelveset Occurs when unshelving a shelveset. 
Public event UpdatedWorkspace Occurs when an existing workspace is updated. 
Public event WorkItemUpdated Occurs when a work item has been updated with a check-in. 
Top

Community Additions

ADD
Show:
© 2014 Microsoft