VersionControlServer.DeleteShelveset Method (Shelveset)
Removes a shelveset from the server. A DeletedShelveset event is sent after the operation.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
- 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.
- 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.