Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VersionControlServer.DeleteWorkspace Method

Deletes the Shelveset that has the specified name and owner.

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

public bool DeleteWorkspace(
	string workspaceName,
	string workspaceOwner


Type: System.String

The name of the Shelveset to delete.

Type: System.String

The owner of the Shelveset to delete.

Return Value

Type: System.Boolean
True if the workspace was deleted. False if it was canceled.

Throws an exception if the request fails on the server.

© 2015 Microsoft