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)

Syntax

'Declaration
Public Function GetLocalWorkspaceInfo ( _
    path As String _
) As WorkspaceInfo
public WorkspaceInfo GetLocalWorkspaceInfo(
    string path
)
public:
WorkspaceInfo^ GetLocalWorkspaceInfo(
    String^ path
)
member GetLocalWorkspaceInfo : 
        path:string -> WorkspaceInfo
public function GetLocalWorkspaceInfo(
    path : String
) : WorkspaceInfo

Parameters

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

Reference

Workstation Class

GetLocalWorkspaceInfo Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace