Delen via


Repository.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
<WebMethodAttribute> _
Public Sub DeleteShelveset ( _
    shelvesetName As String, _
    ownerName As String _
)
[WebMethodAttribute]
public void DeleteShelveset(
    string shelvesetName,
    string ownerName
)
[WebMethodAttribute]
public:
void DeleteShelveset(
    String^ shelvesetName, 
    String^ ownerName
)
[<WebMethodAttribute>]
member DeleteShelveset : 
        shelvesetName:string * 
        ownerName:string -> unit
public function DeleteShelveset(
    shelvesetName : String, 
    ownerName : String
)

Parameters

  • ownerName
    Type: System.String

    User name of the shelveset's owner including domain.

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace