GetLocalWorkspaceInfo Method (String)
Collapse the table of content
Expand the table of content

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 WorkspaceInfo GetLocalWorkspaceInfo(
	string path
)

Parameters

path
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.

Show:
© 2016 Microsoft