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 As String _
) As WorkspaceInfo
public WorkspaceInfo GetLocalWorkspaceInfo(
    string path
WorkspaceInfo^ GetLocalWorkspaceInfo(
    String^ path
member GetLocalWorkspaceInfo : 
        path:string -> WorkspaceInfo
public function GetLocalWorkspaceInfo(
    path : String
) : WorkspaceInfo


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.

.NET Framework Security

See Also


Workstation Class

GetLocalWorkspaceInfo Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace