Workstation.GetLocalWorkspaceInfo Method (VersionControlServer, String, String)

Gets the cached local workspace information for the specified workspace.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

'Declaration
Public Function GetLocalWorkspaceInfo ( _
	sourceControl As VersionControlServer, _
	workspaceName As String, _
	workspaceOwner As String _
) As WorkspaceInfo

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.WorkspaceInfo
The WorkspaceInfo object, or null if the workspace was not found.

Show: