Workspace Properties

Include Protected Members
Include Inherited Members

The Workspace type exposes the following members.

Properties

  Name Description
Public property Comment Gets the comment about the workspace.
Public property Computer Gets the name of the computer on which this workspace exists.
Public property DisambiguatedDisplayName This is the formatted display name of the workspace containing both the display and unique owner names.
Public property DisplayName Gets the formatted display name of the workspace.
Public property EffectivePermissions Gets the effective permissions that the AuthenticatedUser has on this workspace.
Public property Folders Gets the mappings for this workspace.
Public property HasAdministerPermission Gets a flag that indicates whether the AuthorizedUser has Administer permissions for this workspace.
Public property HasCheckInPermission Gets a flag that indicates whether the AuthorizedUser has CheckIn permissions for this workspace.
Public property HasReadPermission Gets a flag that indicates whether the AuthorizedUser has Read permissions for this workspace.
Public property HasUsePermission Gets a flag that indicates whether the AuthorizedUser has Use permissions for this workspace.
Public property IsDeleted Gets a flag that indicates whether this workspace has been deleted.
Public property IsLocal Gets a flag that indicates whether this workspace exists on the current computer.
Public property IsScannerAsynchronous This flag applies only to local workspaces (Location == WorkspaceLocation.Local). If true, then the VersionControlServer which owns this Workspace will raise the PendingChangesChanged and GetCompleted events as soon the disk scanner notices that something has changed on disk. That is, the generation of those events is truly asynchronous. If false, the disk scanner only runs when it is required for correctness -- as a part of calls to this Workspace object's public methods. The events will still raise, but they will raise after the scanned API call which notices them, instead of as soon as they occur on disk. The default is false. Setting this flag to true may decrease performance, but it is useful for the construction of a feature such as an always-up-to-date list of pending changes in the workspace.
Public property LastAccessDate Gets the date when this workspace was most recently accessed.
Public property LastSavedCheckin Gets or sets the metadata from the most recent unshelving or unsuccessful check-in.
Public property Location Indicates the location where data (pending changes, local versions) for this workspace are stored.
Public property MappingsAvailable Returns true if the working folders held by this Workspace object are believed to be current. If true, a call to perform mapping translations will not result in a server call.
Public property Name Gets the name of this workspace.
Public property OwnerAliases The aliases for the owner of this workspace excluding the display name or unique name.
Public property OwnerDescriptor Gets the IdentityDescriptor for the workspace owner, if it is available.
Public property OwnerDisplayName The owner's display name
Public property OwnerIdentifier Gets or sets the identifier of the owner of this workspace.
Public property OwnerIdentityType Gets or sets the identity type of the owner of this workspace.
Public property OwnerName Gets the owner of this workspace.
Public property PermissionsProfile Gets the effective permissions that the AuthenticatedUser has on this workspace.
Public property QualifiedName This is the formatted unique display name of the workspace.
Public propertyStatic member RepositoryComparer Gets a comparer for repositories that is culture-sensitive and case-insensitive.
Public property SecurityToken Gets the security token of this workspace for the workspace security namespace.
Public property VersionControlServer Gets the VersionControlServer object that hosts this workspace.
Public property WorkspaceOptions The options for the workspace (including the SetFileTimeToCheckin flag).

Top

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace