This documentation is archived and is not being maintained.

Workstation.GetLocalWorkspaceInfo Method (String)

Gets the cached local workspace information for the workspace that contains the specified path.

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

public function GetLocalWorkspaceInfo(
	path : String
) : WorkspaceInfo


Type: System.String

The local path.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
The WorkspaceInfo object that contains the specified path, or null if the path is not in a workspace.