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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringName of the workspace.
ownerName
Type: System.StringUser name including domain.
.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.