This documentation is archived and is not being maintained.
Workstation.GetLocalWorkspaceInfo Method (VersionControlServer, String, String)
Visual Studio 2012
Gets the cached local workspace information for the specified workspace.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public WorkspaceInfo GetLocalWorkspaceInfo( VersionControlServer sourceControl, string workspaceName, string workspaceOwner )
Parameters
- sourceControl
- Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer
The server that contains the specified workspace.
- workspaceName
- Type: System.String
The name of the workspace.
- workspaceOwner
- Type: System.String
The workspace owner.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfoThe WorkspaceInfo object, or null if the workspace was not found.
- 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.
Show: