Workstation.GetLocalWorkspaceInfo Method (String)
Gets the cached local workspace info 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
'Déclaration
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
- 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.
.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.