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)

'Declaration
Public Function DeleteWorkspace ( _
	workspaceName As String, _
	workspaceOwner As String _
) As Boolean

Parameters

workspaceName
Type: System.String

The name of the Shelveset to delete.

workspaceOwner
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.

Show:
© 2015 Microsoft