Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains the properties of a cached local workspace.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public NotInheritable Class WorkspaceInfo _
    Implements IComparable
public sealed class WorkspaceInfo : IComparable
public ref class WorkspaceInfo sealed : IComparable
[<Sealed>]
type WorkspaceInfo =  
    class 
        interface IComparable 
    end
public final class WorkspaceInfo implements IComparable
The WorkspaceInfo type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Comment | Gets the comment that is associated with this workspace. | 
| .gif) | Computer | Gets the computer where the workspace is located. | 
| .gif) | DisplayName | Gets the formatted display name of the workspace. | 
| .gif) | LastSavedCheckin | Gets or sets the settings that are associated with the last saved check-in try. | 
| .gif) | Location | Indicates the location where data (pending changes, local versions) for this workspace are stored. | 
| .gif) | MappedPaths | Gets the mappings of the workspace. | 
| .gif) | Name | Gets the name of the workspace. | 
| .gif) | Options | Options set on a workspace. | 
| .gif) | OwnerAliases | The aliases of the workspace owner. | 
| .gif) | OwnerDisplayName | The display name of the workspace owner. | 
| .gif) | OwnerName | Gets the owner of the workspace. | 
| .gif) | QualifiedName | This is the formatted unique display name of the workspace. | 
| .gif) | SecurityToken | The security token for the workspace's access control list in the workspace security namespace. | 
| .gif) | ServerGuid | Gets the GUID of the associated server that is running Team Foundation Server. | 
| .gif) | ServerUri | Gets the uniform resource identifier (URI) of the associated server that is running Team Foundation Server. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Compares this WorkspaceInfo instance with another. (Overrides Object.Equals(Object).) | 
| .gif) | FormatWorkspaceNameForException | Formats the conflicting workspace name for exception when a conflict between names occurs. | 
| .gif) | GetHashCode | Gets the hash code for this WorkspaceInfo instance. (Overrides Object.GetHashCode().) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | GetWorkspace(TeamFoundationServer) | Obsolete. Gets the workspace object that matches this WorkspaceInfo instance. | 
| .gif) | GetWorkspace(TfsTeamProjectCollection) | Gets the workspace object that matches this WorkspaceInfo instance. | 
| .gif) | OwnerNameMatches | Returns true if the owner name matches any of the valid owner names for this workspace. | 
| .gif) | ToString | Gets a string that describes this WorkspaceInfo instance. (Overrides Object.ToString().) | 
Top
Operators
| Name | Description | |
|---|---|---|
| .gif) .gif) | Equality | Compares two WorkspaceInfo objects. | 
| .gif) .gif) | Inequality | Compares two WorkspaceInfo objects. | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IComparable.CompareTo | Compares two workspace information objects, first comparing the server names, and then comparing the workspace names, and finally comparing owners. | 
Top
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.