Export (0) Print
Expand All

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)

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

Show:
© 2015 Microsoft