Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a Shelveset from the server.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub DeleteShelveset ( _
    shelvesetName As String, _
    shelvesetOwner As String _
)
public void DeleteShelveset(
    string shelvesetName,
    string shelvesetOwner
)
public:
void DeleteShelveset(
    String^ shelvesetName, 
    String^ shelvesetOwner
)
member DeleteShelveset : 
        shelvesetName:string * 
        shelvesetOwner:string -> unit 
public function DeleteShelveset(
    shelvesetName : String, 
    shelvesetOwner : String
)
Parameters
- shelvesetName
 Type: System.String
 The name of the Shelveset to remove.
- shelvesetOwner
 Type: System.String
 The owner of the Shelveset to remove.
.NET Framework Security
- 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.