Export (0) Print
Expand All

WorkspaceInfo Class

Contains the properties of a cached local workspace.


Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public sealed class WorkspaceInfo : IComparable

The WorkspaceInfo type exposes the following members.

Public propertyCommentGets the comment that is associated with this workspace.
Public propertyComputerGets the computer where the workspace is located.
Public propertyDisplayNameGets the formatted display name of the workspace.
Public propertyLastSavedCheckinGets or sets the settings that are associated with the last saved check-in attempt.
Public propertyMappedPathsGets the mappings of the workspace.
Public propertyNameGets the name of the workspace.
Public propertyOwnerNameGets the owner of the workspace.
Public propertyServerGuidGets the GUID of the associated server that is running Team Foundation Server.
Public propertyServerUriGets the uniform resource identifier (URI) of the associated server that is running Team Foundation Server.

Public methodEqualsCompares this WorkspaceInfo instance with another. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFormatWorkspaceNameForExceptionFormats the conflicting workspace name for exception when a conflict between names occurs.
Public methodGetHashCodeGets the hash code for this WorkspaceInfo instance. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetWorkspace(TeamFoundationServer) Obsolete. Gets the workspace object that matches this WorkspaceInfo instance.
Public methodGetWorkspace(TfsTeamProjectCollection)Gets the workspace object that matches this WorkspaceInfo instance.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringGets a string that describes this WorkspaceInfo instance. (Overrides Object.ToString().)

Public operatorStatic memberEqualityCompares two WorkspaceInfo objects.
Public operatorStatic memberInequalityCompares two WorkspaceInfo objects.

Explicit interface implemetationPrivate methodIComparable.CompareToCompares two workspace info objects, first comparing the server names, then comparing the workspace names, and finally comparing owners.

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

Community Additions

© 2014 Microsoft