This documentation is archived and is not being maintained.

Workspace::Unshelve Method (String, String, array<ItemSpec>)

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, 
	array<ItemSpec^>^ items
)

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: array<Microsoft.TeamFoundation.VersionControl.Client::ItemSpec>

An array of files, folders, or both in the shelveset that should be unshelved. Specify null for all files and folders.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client::Shelveset
The shelveset that was unshelved.

Show: