GetLocalWorkspaceInfo Method (VersionControlServer, String, String)
Collapse the table of content
Expand the table of content

Workstation.GetLocalWorkspaceInfo Method (VersionControlServer, String, String)

Gets the cached local workspace info 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.

Community Additions

ADD
Show:
© 2016 Microsoft