Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Reference for Team Foundation Server SDK
Workspace Class

Handler for Workspace changes.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

Visual Basic (Declaration)
Public NotInheritable Class Workspace
	Implements IComparable, IEqualityComparer(Of Workspace)
Visual Basic (Usage)
Dim instance As Workspace
C#
public sealed class Workspace : IComparable, IEqualityComparer<Workspace>
C++
public ref class Workspace sealed : IComparable, IEqualityComparer<Workspace^>
J#
public final class Workspace implements IComparable, IEqualityComparer<Workspace>
JScript
public final class Workspace implements IComparable, IEqualityComparer<Workspace>
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.Workspace
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Unique identifier of Workspace      Leo Tohill   |   Edit   |   Show History
In VersionControlServer, a workspace is uniquely identified by the combination of { Name , OwnerName ).
OwnerName can be compared to Environment.UserDomainName + @"\"+Environment.UserName
There are some other constraints that should be docuemented. For example, no local folders can be addressed by more than one worksspace. Or more than one that maps the same project. Or something.
Computer can be compared to Environment.MachineName.

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker