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)

Syntax

'Declaration
Public Function Unshelve ( _
    shelvesetName As String, _
    shelvesetOwner As String, _
    items As ItemSpec() _
) As Shelveset
'Usage
Dim instance As Workspace 
Dim shelvesetName As String 
Dim shelvesetOwner As String 
Dim items As ItemSpec()
Dim returnValue As Shelveset 

returnValue = instance.Unshelve(shelvesetName, _
    shelvesetOwner, items)
public Shelveset Unshelve(
    string shelvesetName,
    string shelvesetOwner,
    ItemSpec[] items
)
public:
Shelveset^ Unshelve(
    String^ shelvesetName, 
    String^ shelvesetOwner, 
    array<ItemSpec^>^ items
)
public function Unshelve(
    shelvesetName : String, 
    shelvesetOwner : String, 
    items : ItemSpec[]
) : Shelveset

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.

Return Value

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

.NET Framework Security

See Also

Reference

Workspace Class

Workspace Members

Unshelve Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace