Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
<WebMethodAttribute> _
Public Sub DeleteWorkspace ( _
workspaceName As String, _
ownerName As String _
)
[WebMethodAttribute]
public void DeleteWorkspace(
string workspaceName,
string ownerName
)
[WebMethodAttribute]
public:
void DeleteWorkspace(
String^ workspaceName,
String^ ownerName
)
[<WebMethodAttribute>]
member DeleteWorkspace :
workspaceName:string *
ownerName:string -> unit
public function DeleteWorkspace(
workspaceName : String,
ownerName : String
)
Parameters
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.