TeamFoundationVersionControlService.DeleteWorkspace Method

Deletes the specified workspace. All pending changes are canceled and all LocalVersion entries are removed from the server.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace