DeleteShelveset Method (Shelveset)
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

VersionControlServer.DeleteShelveset Method (Shelveset)

Removes a shelveset from the server. A DeletedShelveset event is sent after the operation.

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

public void DeleteShelveset(
	Shelveset shelveset


Type: Microsoft.TeamFoundation.VersionControl.Client.Shelveset

The passed Shelveset object contains the name of the shelveset that you want to remove, and the username of the shelveset owner. All the other members of the shelveset class are ignored by this method.

© 2016 Microsoft