Share via


TeamFoundationVersionControlService.DeleteShelveset Method

Deletes the specified shelveset. All associated shelved changes are removed also.

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

Syntax

'Declaration
Public Sub DeleteShelveset ( _
    requestContext As TeamFoundationRequestContext, _
    shelvesetName As String, _
    ownerName As String _
)
public void DeleteShelveset(
    TeamFoundationRequestContext requestContext,
    string shelvesetName,
    string ownerName
)
public:
void DeleteShelveset(
    TeamFoundationRequestContext^ requestContext, 
    String^ shelvesetName, 
    String^ ownerName
)
member DeleteShelveset : 
        requestContext:TeamFoundationRequestContext * 
        shelvesetName:string * 
        ownerName:string -> unit
public function DeleteShelveset(
    requestContext : TeamFoundationRequestContext, 
    shelvesetName : String, 
    ownerName : String
)

Parameters

  • ownerName
    Type: System.String

    User name of the shelveset's owner including domain.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace