Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Workspace.Unshelve Method (String, String, ItemSpec[], String[], String[], String[], Boolean, Boolean, PendingChange[], Conflict[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Reproduces in this workspace a set of pending changes that have been previously shelved to the server.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public Shelveset Unshelve(
	string shelvesetName,
	string shelvesetOwner,
	ItemSpec[] items,
	string[] itemAttributeFilters,
	string[] itemPropertyFilters,
	string[] shelvesetPropertyNameFilters,
	bool merge,
	bool noAutoResolve,
	out PendingChange[] changes,
	out Conflict[] conflicts
)

Parameters

shelvesetName
Type: System.String

The name of the shelveset to unshelve

shelvesetOwner
Type: System.String

The name of the user who created the shelveset

items
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]

A list of files and folders in the shelveset that should be unshelved or null for all

itemAttributeFilters
Type: System.String[]

A list of versioned item properties to return with each get operation

itemPropertyFilters
Type: System.String[]

List of property filters.

shelvesetPropertyNameFilters
Type: System.String[]

The list of properties to be returned on the shelvesets. To get all properties pass a single filter that is just "*".

merge
Type: System.Boolean

True if "merge" should be performed when unshelving. This will file merge and version conflicts for items that have conflicting pending changes and different pended versions respectively.

noAutoResolve
Type: System.Boolean

Prevents any conflicts from being auto resolved even if the option is set in the registry.

changes
Type: Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]

Return the set of unshelved pending changes

conflicts
Type: Microsoft.TeamFoundation.VersionControl.Client.Conflict[]

The list of conflicts that were generated by the unshelve operation.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.Shelveset
The shelveset that was unshelved
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.