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)
Syntax
'Declaration
Public Function GetLocalWorkspaceInfo ( _
path As String _
) As WorkspaceInfo
'Usage
Dim instance As Workstation
Dim path As String
Dim returnValue As WorkspaceInfo
returnValue = instance.GetLocalWorkspaceInfo(path)
public WorkspaceInfo GetLocalWorkspaceInfo(
string path
)
public:
WorkspaceInfo^ GetLocalWorkspaceInfo(
String^ path
)
public function GetLocalWorkspaceInfo(
path : String
) : WorkspaceInfo
Parameters
path
Type: System.StringThe local path.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.