Workspace::Unshelve Method (String, String, array<ItemSpec>, array<String>, array<String>, array<String>, Boolean, Boolean, array<PendingChange>%, array<Conflict>%)
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, array<String^>^ itemAttributeFilters, array<String^>^ itemPropertyFilters, array<String^>^ shelvesetPropertyNameFilters, bool merge, bool noAutoResolve, [OutAttribute] array<PendingChange^>^% changes, [OutAttribute] array<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: array<Microsoft.TeamFoundation.VersionControl.Client::ItemSpec>
A list of files and folders in the shelveset that should be unshelved or null for all
- itemAttributeFilters
- Type: array<System::String>
A list of versioned item properties to return with each get operation
- itemPropertyFilters
- Type: array<System::String>
List of property filters.
- shelvesetPropertyNameFilters
- Type: array<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: array<Microsoft.TeamFoundation.VersionControl.Client::PendingChange>%
Return the set of unshelved pending changes
- conflicts
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::Conflict>%
The list of conflicts that were generated by the unshelve operation.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client::ShelvesetThe shelveset that was unshelved
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.