Workstation.GetLocalWorkspaceInfo Method (String)

Get 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
Dim instance As Workstation 
Dim path As String 
Dim returnValue As WorkspaceInfo 

returnValue = instance.GetLocalWorkspaceInfo(path)
public WorkspaceInfo GetLocalWorkspaceInfo(
    string path
WorkspaceInfo^ GetLocalWorkspaceInfo(
    String^ path
public function GetLocalWorkspaceInfo(
    path : String
) : WorkspaceInfo


Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
Returns the WorkspaceInfo object which describes the containing Workspace, or nulla null reference (Nothing in Visual Basic) if it is not in a Workspace.

.NET Framework Security

See Also


Workstation Class

Workstation Members

GetLocalWorkspaceInfo Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace