Microsoft.TeamFoundation.Ve ...


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)

Syntax

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>
Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.Workspace
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Tags :


Community Content

Leo Tohill
Unique identifier of Workspace
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 :

Page view tracker