TeamFoundationVersionControlService Class

The Version Control settings.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Server.TeamFoundationVersionControlService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
Public Class TeamFoundationVersionControlService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public class TeamFoundationVersionControlService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public ref class TeamFoundationVersionControlService : ITeamFoundationService
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
type TeamFoundationVersionControlService =  
    class 
        interface ITeamFoundationService 
    end
public class TeamFoundationVersionControlService implements ITeamFoundationService

The TeamFoundationVersionControlService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationVersionControlService

Top

Methods

  Name Description
Public method AddConflict(TeamFoundationRequestContext, String, String, ConflictType, Int32, Int32, Int32, String, String, Int32) Adds a local disk conflict to the server's list of conflicts for this workspace.
Public method AddConflict(TeamFoundationRequestContext, String, String, ConflictType, Int32, Int32, Int32, String, String, Int32, PathLength) Adds a local disk conflict to the server's list of conflicts for this workspace.
Public method AddProxy Adds a new proxy server record with the given parameters.
Public method CheckIn Commits a set of pending changes. Checkin is part of a larger call sequence to commit files. The sequence is: 1. Call CheckPendingChanges and pass in the list of files and folders to checkin. 2. For each file call UploadFile. 3. Call Checkin and pass the list of files and folders (should match the list in #1). CheckPendingChanges is not required, but it allows the caller to be alerted of conflicts before wasting time uploading files. serverItems must contain at least one item, no duplicates, and no wildcard characters.
Public method CheckInShelveset Submit an existing shelveset for checkin. Work items associated with the changeset will be either associated or resolved as soon as the checkin is completed.
Public method CheckPendingChanges(TeamFoundationRequestContext, String, String, array<String[]) Checks a set of pending changes for checkin conflicts. This should be called as a preliminary check at the start of a checkin sequence. Any conflicts that exist at the point in time when the call was made will be returned to the client en masse. Checkin will repeat the same checks and if any conflicts have crept in since this call was made, it will fail. serverItems must contain at least one item and no wildcard characters.
Public method CheckPendingChanges(TeamFoundationRequestContext, String, String, array<String[], PathLength) Checks a set of pending changes for checkin conflicts. This should be called as a preliminary check at the beginning of a checkin sequence. Any conflicts that exist at the point in time when the call was made will be returned to the client en masse. Checkin will repeat the same checks and if any conflicts have crept in since this call was made, it will fail. serverItems must contain at least one item and no wildcards.
Public method CompareLabels Returns changeset information between two labels. The maxCount newest changesets will be returned that involve the specified item in the labels.
Public method CreateAnnotation Create and persist an instance of an annotation.
Public method CreateBranch Creates a new committed branch.
Public method CreateCheckinNoteDefinition(TeamFoundationRequestContext, String, array<CheckinNoteFieldDefinition[]) Create a new set of field definitions associated with the server item.
Public method CreateCheckinNoteDefinition(TeamFoundationRequestContext, String, array<CheckinNoteFieldDefinition[], PathLength) Create a new set of field definitions associated with the server item.
Public method CreateTeamProjectFolder(TeamFoundationRequestContext, TeamProjectFolderOptions) This is used to create a team project and all of the infrastructure surrounding it. Permissions, checkin notes, users, and so on.
Public method CreateTeamProjectFolder(TeamFoundationRequestContext, TeamProjectFolderOptions, PathLength) This is used to create a team project and all the infrastructure surronding it. Permissions, checkin notes, users, etc...
Public method CreateWorkspace This function creates a new workspace for a given user. The workspace must not already exist.
Public method DeleteAnnotation Deleting an annotation removes it from the system. This method can be used to remove annotations based on the filter. They are removed based on the name and item/version combination. If a value is specified only instances with this value are removed. If a null value is supplied than all instances of this annotation are removed.
Public method DeleteBranchObject(TeamFoundationRequestContext, ItemIdentifier) Deletes a branch object and all associated relationships.
Public method DeleteBranchObject(TeamFoundationRequestContext, ItemIdentifier, PathLength) Deletes a branch object and all associated relationships.
Public method DeleteLabel Deletes the label with the given name and root item.
Public method DeleteProxy Deletes the proxy record as specified by the given URL from the server.
Public method DeleteShelveset Deletes the specified shelveset. All associated shelved changes are removed also.
Public method DeleteTeamProjectFolder This is used to delete a team project folder.
Public method DeleteWorkspace Deletes the specified workspace. All pending changes are canceled and all LocalVersion entries are removed from the server.
Public method Destroy(TeamFoundationRequestContext, ItemSpec, VersionSpec, VersionSpec, Int32) Destroy the subtree represented by itemSpec.
Public method Destroy(TeamFoundationRequestContext, ItemSpec, VersionSpec, VersionSpec, Int32, PathLength) Destroy the subtree represented by itemSpec.
Public method DownloadFile Downloads the file at the given server path and version to the specified local path.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method FilterChangeset Filters a changeset for an array of users and returns a list of path restrictions.
Public method FilterShelveset Filters a shelveset for an array of users and returns a list of path restrictions.
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 GenerateRepositoryKey Regenerates the RSA keypair used for signing download keys.
Public method Get(TeamFoundationRequestContext, String, String, array<GetRequest[], Int32, GetOptions, array<String[]) Called by the client to synchronize the workspace with a given version. Returns a "to do" list of files for the client to download to update the user's local working copies.
Public method Get(TeamFoundationRequestContext, String, String, array<GetRequest[], Int32, GetOptions, array<String[], array<String[]) Called by the client to synchronize the workspace with a given version. Returns a "to do" list of files for the client to download to update the user's local working copies.
Public method Get(TeamFoundationRequestContext, String, String, array<GetRequest[], Int32, GetOptions, array<String[], array<String[], PathLength) Called by the client to synchronize the workspace with a given version. Returns a "to do" list of files for the client to download to update the user's local working copies.
Public method GetChangesetProperty Gets properties associated with a given changeset.
Public method GetEarliestChangesetTime Gets the time when the earliest changeset was committed to the repository.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLatestChangeset Retrieves the changeset number for the latest changeset in the repository.
Public method GetRepositoryProperties Gets repository information.
Public method GetServerSettings Gets the default settings for the server.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetVersionedItemProperty Obsolete. Gets the properties associated with a versioned item.
Public method LabelItem(TeamFoundationRequestContext, String, String, VersionControlLabel, array<LabelItemSpec[], LabelChildOption) Creates or updates a label. Associates the given versions of the given items.
Public method LabelItem(TeamFoundationRequestContext, String, String, VersionControlLabel, array<LabelItemSpec[], LabelChildOption, PathLength) Creates or updates a label. Associates the given versions of the given items.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Merge(TeamFoundationRequestContext, String, String, ItemSpec, ItemSpec, VersionSpec, VersionSpec, LockLevel, MergeOptionsEx, array<String[]) Return the list of GetOperations for pending merges automatically resolved and conflicts for the ones that are not automatically resolved.
Public method Merge(TeamFoundationRequestContext, String, String, ItemSpec, ItemSpec, VersionSpec, VersionSpec, LockLevel, MergeOptionsEx, array<String[], array<String[]) Return the list of GetOperations for pending merges automatically resolved and conflicts for the ones that are not automatically resolved.
Public method Merge(TeamFoundationRequestContext, String, String, ItemSpec, ItemSpec, VersionSpec, VersionSpec, LockLevel, MergeOptionsEx, array<String[], array<String[], PathLength) Return the list of GetOperations for pending merges automatically resolved and conflicts for the ones that are not automatically resolved.
Public method OptimizeDatabase This method performs a database optimization pass for version control tables.
Public method PendChanges(TeamFoundationRequestContext, String, String, array<ChangeRequest[], Int32, Int32, array<String[], Boolean) Called to perform adds, checkouts, branches, renames, deletes, and so on.Changes submitted may contain wildcard characters and recursion flags. Wildcards and recursions will be expanded and the list of changes successfully pended will be returned.
Public method PendChanges(TeamFoundationRequestContext, String, String, array<ChangeRequest[], Int32, Int32, array<String[], array<String[], Boolean) Called to perform adds, checkouts, branches, renames, deletes, and so on. Changes submitted may contain wildcard characters and recursion flags. Wildcards and recursions will be expanded and the list of changes successfully pended will be returned.
Public method PendChanges(TeamFoundationRequestContext, String, String, array<ChangeRequest[], Int32, Int32, array<String[], array<String[], Boolean, PathLength) Called to perform adds, checkouts, branches, renames, deletes, etc. Changes submitted may contain wildcards and recursion flags. Wildcards and recursions will be expanded and the list of changes successfully pended will be returned.
Public method QueryAnnotation Get a set of annotations that match the supplied filter.
Public method QueryBranches Find all of the relatives for each item specification. e.g.: Craig branches a.cs -> b.cs Justin branches b.cs -> c.cs Amy branches b.cs -> d.cs Then the following data should be returned when QueryBranches is called by using a.cs, b.cs, c.cs, or d.cs: BranchToItem: a.cs, BranchFromItem: NULL BranchToItem: b.cs, BranchFromItem: a.cs BranchToItem: c.cs, BranchFromItem: b.cs BranchToItem: d.cs, BranchFromItem: b.cs that is The branch graph of the item. An additional complication is that the user asking for this data might not have Read permission on all of the branch relatives. When this occurs, the appropriate Item structure is set to NULL. The RelativeToItemId, and RelativeFromItemId are assigned based on ServerItem;Changeset so that the caller of this API can always determine the shape of the graph, even if all of the data is not visible to the user.
Public method QueryBranchObjectOwnership Queries the branch object ownership information for a given changeset. Returns the Root branches which the changeset belongs to and the count of items in each branch.
Public method QueryBranchObjects(TeamFoundationRequestContext, ItemIdentifier, RecursionType) Queries for branch objects recursively.
Public method QueryBranchObjects(TeamFoundationRequestContext, ItemIdentifier, RecursionType, PathLength) Queries for branch objects recursively.
Public method QueryBranchObjectsByPath
Public method QueryChangeset Retrieves the details (comment, changes, etc.) for a changeset.
Public method QueryChangesetExtended(TeamFoundationRequestContext, Int32, Boolean, Boolean, array<String[]) Retrieves the details (comment, changes, etc.) for a changeset. The returned Changesets will contain properties if property name filters are provided.
Public method QueryChangesetExtended(TeamFoundationRequestContext, Int32, Boolean, Boolean, array<String[], array<String[], array<String[]) Retrieves the details (comment, changes, etc.) for a changeset. The returned Changesets will contain properties if property name filters are provided.
Public method QueryChangesForChangeset(TeamFoundationRequestContext, Int32, Boolean, Int32, ItemSpec, array<String[], Boolean) Queries changes throughout a given changeset (can be paged or non-paged).
Public method QueryChangesForChangeset(TeamFoundationRequestContext, Int32, Boolean, Int32, ItemSpec, array<String[], array<String[], Boolean) Queries changes throughout a given changeset (can be paged or non-paged).
Public method QueryCheckinNoteDefinition Looks up the field definitions supported for checkin note data.
Public method QueryCheckinNoteFieldNames Returns a list of all of the checkin note fields that have ever been used in this database.
Public method QueryConflicts Returns the conflicts filtered by the optional list of ItemSpecs.
Public method QueryEffectiveGlobalPermissions Computes the global permissions for a user. Applies the allow and deny lists, inheritance, and group membership rules to produce a simple list of permissions the user has.
Public method QueryEffectiveItemPermissions Computes the permissions for a user against a particular item. Applies the allow and deny lists, inheritance, and group membership rules to produce a simple list of permissions the user has.
Public method QueryFileContents Queries the file contents for the given Item.
Public method QueryFileTypes Returns the list of per-file-extension configuration information.
Public method QueryGlobalPermissions Queries the global permissions for the selected identities.
Public method QueryHistory Returns changeset information about an item and its children. The maxCount newest changesets will be returned that involve the specified item and are in the range of versionFrom->versionTo.
Public method QueryItemById Retrieve an item from repository, based on itemId and changeset.
Public method QueryItemPermissions
Public method QueryItems(TeamFoundationRequestContext, String, String, array<ItemSpec[], VersionSpec, DeletedState, ItemType, Boolean, Int32) Retrieves a list of all items in the repository that match the specified path and version. If the 'path' argument is a file, returns a set of items that contain just that file. If the 'path' is a folder, returns a set of items that contain all items in that folder. If the 'path' contains a wildcard character, returns a set of items in the specified folder that match the wildcard.
Public method QueryItems(TeamFoundationRequestContext, String, String, array<ItemSpec[], VersionSpec, DeletedState, ItemType, Boolean, Int32, array<String[], array<String[]) Retrieves a list of all items in the repository that match the specified path and version. If the 'path' argument is a file, returns a set of items that contain just that file. If the 'path' is a folder, returns a set of items that contain all items in that folder. If the 'path' contains a wildcard character, returns a set of items in the specified folder that match the wildcard.
Public method QueryItemsById Retrieves a list of items from repository, based on itemId and changeset. If an item cannot be found for a specific itemId and changeset then the corresponding element in the item output array will be null.
Public method QueryItemsExtended(TeamFoundationRequestContext, String, String, array<ItemSpec[], DeletedState, ItemType, Int32) For each input ItemSpec, retrieves a list of extended items that match the specified criteria. If the 'path' argument is a file, returns a set of items that contain just that file. If the 'path' is a folder, returns a set of items that contain all items in that folder. If the 'path' contains a wildcard character, returns a set of items in the specified folder that match the wildcard.
Public method QueryItemsExtended(TeamFoundationRequestContext, String, String, array<ItemSpec[], DeletedState, ItemType, Int32, array<String[]) For each input ItemSpec, retrieves a list of extended items that match the specified criteria. If the 'path' argument is a file, returns a set of items that contain just that file. If the 'path' is a folder, returns a set of items that contain all items in that folder. If the 'path' contains a wildcard character, returns a set of items in the specified folder that match the wildcard.
Public method QueryLabels(TeamFoundationRequestContext, String, String, String, String, String, String, VersionSpec, Boolean, Boolean) Returns list of labels matching given fields. Null fields are not used as part of the comparison.
Public method QueryLabels(TeamFoundationRequestContext, String, String, String, String, String, String, VersionSpec, Boolean, Boolean, PathLength) Returns list of labels matching given fields. Null fields are not used as part of the comparison.
Public method QueryLocalVersions Queries the local item information which a user has in their workspace.
Public method QueryMergeCandidates(TeamFoundationRequestContext, String, String, ItemSpec, ItemSpec, MergeOptionsEx) Returns the set of changesets that must be merged from source to target.
Public method QueryMergeCandidates(TeamFoundationRequestContext, String, String, ItemSpec, ItemSpec, MergeOptionsEx, PathLength) Returns the set of changesets that need to be merged from source to target.
Public method QueryMergeRelationships Returns the paths the input path is related to, together with Version information at latest.
Public method QueryMerges Returns merge history.
Public method QueryMergesExtended QueryMergesExtended is used to find the source changes for a given ItemSpec in specific version range. The result is the set of changes as ExtendedMerge's. Which contain the source of the merge (item, version, deletionId, and change), and also the changeset details. The changeset is not a completed object. Only the owner, committer, date, comment, and changesetId are filled in. No items, release notes or other data.
Public method QueryMergesWithDetails Returns merge with details history.
Public method QueryPendingChangesById Retrieves a list of pending changes, based on pending change ID. If a pending change cannot be found for a specific pending change ID, then the corresponding element in the pending change output array will be null.
Public method QueryPendingChangesForWorkspace Returns a list of pending changes matching specified criteria. If workspaceName is not null, ownerName must also be specified. Children are returned according to the recursive option. If RecursionType.None is specified, only the serverItem is returned. If RecursionType.OneLevel is specified and serverItem represents a folder, that folder and its direct children are returned. If RecursionType.Full is specified and serverItem is a folder all its descendants are returned. This function returns an array of PendingSet objects, each of which represents a workspace. Within each PendingSet object is an array of PendingChanges that represent the changes that belong to that workspace.
Public method QueryPendingChangeSignature Also called "pre-reconcile." Fetches the server's current pending changes signature for the workspace specified. If it equals the client's pending changes signature, then the reconcile can be skipped because there is no work to do.
Public method QueryPendingSets(TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], Boolean, Boolean, array<String[], Boolean) Returns a list of pending changes matching specified criteria. If workspaceName is not null, ownerName must also be specified. Children are returned according to the recursive option. If RecursionType.None is specified, only the serverItem is returned. If RecursionType.OneLevel is specified and serverItem represents a folder, that folder and its direct children are returned. If RecursionType.Full is specified and serverItem is a folder all its descendants are returned. This function returns an array of PendingSet objects, each of which represents a workspace. Within each PendingSet object is an array of PendingChanges that represent the changes that belong to that workspace.
Public method QueryPendingSets(TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], Boolean, PathLength, Boolean, array<String[], Boolean) Returns a list of pending changes matching specified criteria. If workspaceName is not null, ownerName must also be specified. Children are returned according to the recursive option. If RecursionType.None is specified, only the serverItem is returned. If RecursionType.OneLevel is specified and serverItem represents a folder, that folder and its direct children are returned. If RecursionType.Full is specified and serverItem is a folder all of its descendants are returned. This function returns an array of PendingSet objects, each of which represents a workspace. Within each PendingSet object is an array of PendingChanges that represent the changes belonging to that workspace.
Public method QueryProxies Returns a list of proxy records.
Public method QueryRepositoryInformation Retrieves detailed information about the version control service on this Team Project Collection. This information includes: -> Number of version control identities -> Number of workspaces -> Number of shelvesets -> Number of files in version control at version T -> Number of folders in version control at version T -> Number of changesets committed -> Total number of pending changes in all workspaces and shelvesets.
Public method QueryShelvedChanges(TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], Boolean) Returns a list of pending changes matching specified criteria. If workspaceName is not null, ownerName must also be specified. Children are returned according to the recursive option. If RecursionType.None is specified, only the serverItem is returned. If RecursionType.OneLevel is specified and serverItem represents a folder, that folder and its direct children are returned. If RecursionType.Full is specified and serverItem is a folder all its descendants are returned. This function returns an array of PendingSet objects, each of which represents a workspace. Within each PendingSet object is an array of PendingChanges that represent the changes that belong to that workspace.
Public method QueryShelvedChanges(TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], Boolean, array<String[]) Returns a list of pending changes matching specified criteria. If workspaceName is not null, ownerName must also be specified. Children are returned according to the recursive option. If RecursionType.None is specified, only the serverItem is returned. If RecursionType.OneLevel is specified and serverItem represents a folder, that folder and its direct children are returned. If RecursionType.Full is specified and serverItem is a folder all its descendants are returned. This function returns an array of PendingSet objects, each of which represents a workspace. Within each PendingSet object is an array of PendingChanges that represent the changes that belong to that workspace.
Public method QueryShelvesets(TeamFoundationRequestContext, String, String) Lists the known shelvesets in the system. Returns shelveset metadata. To retrieve the list of changes, use QueryPendingSets().
Public method QueryShelvesets(TeamFoundationRequestContext, String, String, array<String[]) Lists the known shelvesets in the system. Returns shelveset metadata. To retrieve the list of changes, use QueryPendingSets().
Public method QuerySummaryForChangeset Queries for a summary of change type counts for a changeset. This is used primarily for display purposes when showing how many files have been added, edited or deleted.
Public method QueryWorkspace(TeamFoundationRequestContext, String, String) Looks up a specific workspace. No wildcard characters or nulls are allowed. Throws an exception if workspace not found.
Public method QueryWorkspace(TeamFoundationRequestContext, String, String, Boolean) Looks up a specific workspace. No wildcard characters or nulls are allowed. Throws an exception if workspace not found.
Public method QueryWorkspace(TeamFoundationRequestContext, String, String, Boolean, Boolean, Boolean) Looks up a specific workspace. No wildcard characters or nulls are allowed. Throws an exception if workspace not found.
Public method QueryWorkspaceItems
Public method QueryWorkspaces Searches for a workspace with the given owner and computer.
Public method ReconcileLocalWorkspace(TeamFoundationRequestContext, String, String, Guid, array<LocalPendingChange[], array<ServerItemLocalVersionUpdate[], Boolean) Reconciles a local workspace's local pending changes with those of the server.
Public method ReconcileLocalWorkspace(TeamFoundationRequestContext, String, String, Guid, array<LocalPendingChange[], array<ServerItemLocalVersionUpdate[], Boolean, PathLength) Reconciles a local workspace's local pending changes with those of the server.
Public method RefreshIdentityDisplayName Update the table of identities to include an updated (renamed) user name.
Public method RemoveLocalConflict Removes the given conflict from the workspace.
Public method ResetCheckinDates Resets the checkin dates of all changesets in the TPC to before the last date.This will be used by the migration tools, and will only work on an "empty" TPC. Empty means that only the following checkins could have occurred. a. $/ b. Team Project Creation c. Team Project Creation + 1 changeset - for Build Definitions.
Public method Resolve(TeamFoundationRequestContext, String, String, Int32, Resolution, String, Int32, LockLevel, array<String[]) Resolve a specific conflict with a specific resolution. This is called for Get, Checkin, and Merge conflicts.
Public method Resolve(TeamFoundationRequestContext, String, String, Int32, Resolution, String, Int32, LockLevel, array<PropertyValue[], array<String[], array<String[], Boolean) Resolve a specific conflict with a specific resolution. This is called for Get, Checkin, and Merge conflicts.
Public method Resolve(TeamFoundationRequestContext, String, String, Int32, Resolution, String, Int32, LockLevel, array<PropertyValue[], array<String[], array<String[], Boolean, PathLength) Resolve a specific conflict with a specific resolution. This is called for Get, Checkin, and Merge conflicts.
Public method Rollback(TeamFoundationRequestContext, String, String, array<ItemSpec[], VersionSpec, VersionSpec, VersionSpec, Int32, LockLevel, array<String[]) Rolls back changes in a given tree for a specific version range.
Public method Rollback(TeamFoundationRequestContext, String, String, array<ItemSpec[], VersionSpec, VersionSpec, VersionSpec, Int32, LockLevel, array<String[], array<String[]) Rolls back changes in a given tree for a specific version range.
Public method Rollback(TeamFoundationRequestContext, String, String, array<ItemSpec[], VersionSpec, VersionSpec, VersionSpec, Int32, LockLevel, array<String[], array<String[], PathLength) Rolls back changes in a given tree for a specific version range
Public method SetChangesetProperty Sets property values on a changeset.
Public method SetFileTypes Replaces the current set of file type definitions.
Public method SetPendingChangeAttribute Sets properties on the specified pending changes.
Public method SetPendingChangeProperty Obsolete. Sets properties on the specified pending changes.
Public method SetServerSettings Sets the server settings.
Public method SetVersionedItemAttribute Sets properties on the specified versioned items.
Public method SetVersionedItemProperty Obsolete. Sets properties on the specified versioned items.
Public method Shelve(TeamFoundationRequestContext, String, String, array<String[], Shelveset, Boolean) Copies the pending changes to a shelveset. Changes will remain in the workspace also.
Public method Shelve(TeamFoundationRequestContext, String, String, array<String[], Shelveset, Boolean, PathLength) Copies the pending changes to a shelveset. Changes will remain in the workspace as well.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TrackMerges Returns merges which occurred from a source item for a list of source changesets to a set of target items. The source and target items do not have to be directly related in merge history.
Public method UndoPendingChanges(TeamFoundationRequestContext, String, String, array<ItemSpec[], array<String[], array<String[], Boolean) Undoes a set of pending changes. If a serverItem spec does not match anything, a Failure object is returned for it. This method returns an array of pending changes that were undone. For each file, the client should call DownloadFile() and specify the version returned in the UndonePendingChange object to retrieve the unmodified versions of the files.
Public method UndoPendingChanges(TeamFoundationRequestContext, String, String, array<ItemSpec[], array<String[], array<String[], Boolean, PathLength) Undoes a set of pending changes. If a serverItem spec does not match anything, a Failure object is returned for it. This method returns an array of pending changes that were undone. For each file, the client should call DownloadFile() and specify the version returned in the UndonePendingChange object to retrieve the unmodified versions of the files.
Public method UnlabelItem(TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], VersionSpec) Removes the given item(s) from a named label.
Public method UnlabelItem(TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], VersionSpec, PathLength) Removes the given item(s) from a named label.
Public method Unshelve(TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], array<String[]) Copies shelved changes into a workspace.
Public method Unshelve(TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], array<String[], array<String[], array<String[], Boolean) Copies shelved changes into a workspace.
Public method Unshelve(TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], array<String[], array<String[], array<String[], Boolean, PathLength) Copies shelved changes into a workspace.
Public method UpdateBranchObject(TeamFoundationRequestContext, BranchProperties, Boolean) Creates / updates a branch object. If the item exists but is not a branch object, it will mark the item as a root of a branch.
Public method UpdateBranchObject(TeamFoundationRequestContext, BranchProperties, Boolean, PathLength) Creates / updates a branch object. If the item exists but is not a branch object It will mark the item as a root of a branch.
Public method UpdateChangeset UpdateChangeset is used to update the comment and referenced checkin note with for a changeset.
Public method UpdateCheckinNoteFieldName Rename all instances of the specified checkin note field to the new specified name for the given team project folder.
Public method UpdateGlobalSecurity Updates the global permissions for items.
Public method UpdateItemSecurity Modifies an item's security information.
Public method UpdateLocalVersion(TeamFoundationRequestContext, String, String, array<BaseLocalVersionUpdate[]) Called to update the local version of an item which is stored for a workspace. Clients should call this after successfully calling DownloadFile() based on instructions from Get().
Public method UpdateLocalVersion(TeamFoundationRequestContext, String, String, array<BaseLocalVersionUpdate[], PathLength) Called to update the local version of an item which is stored for a workspace. Clients should call this after successfully calling DownloadFile() based on instructions from Get()
Public method UpdatePendingState(TeamFoundationRequestContext, String, String, array<PendingState[]) This is used to update the Conflict and Revert To information. It can be used if the client downloads files without using a Get to register conflicts and update revert to information.
Public method UpdatePendingState(TeamFoundationRequestContext, String, String, array<PendingState[], PathLength) This is used to update the Conflict and Revert To information. It can be used if the client downloads files wihtout using a Get to register conflicts and update revert to information.
Public method UpdateShelveset Updates the custom properties on the shelveset. NOTE: Currently only updates to the property bag on the shelveset are honored. All other updates cause a no-op.
Public method UpdateShelvesetCreationTime Updates the creation time of a single shelveset, or of all the shelvesets owned by a certain user.
Public method UpdateWorkspace Modifies workspace properties and working folder mappings. Workspace owner may not be changed.
Public method UploadFile Uploads the file for the given server item path on the given workspace.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart

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