Export (0) Print
Expand All

Workstation.GetLocalWorkspaceInfo Method (VersionControlServer, String, String)

Get the cached local WorkspaceInfo 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 associated with 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
Returns the WorkspaceInfo object which describes the containing Workspace, or null if it is not in a Workspace.

Community Additions

ADD
Show:
© 2014 Microsoft