This documentation is archived and is not being maintained.

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
)
public WorkspaceInfo GetLocalWorkspaceInfo (
	VersionControlServer sourceControl, 
	String workspaceName, 
	String workspaceOwner
)
public function GetLocalWorkspaceInfo (
	sourceControl : VersionControlServer, 
	workspaceName : String, 
	workspaceOwner : String
) : WorkspaceInfo

Parameters

sourceControl

The server associated with the specified workspace.

workspaceName

The name of the workspace.

workspaceOwner

The workspace owner.

Return Value

Returns the WorkspaceInfo object which describes the containing Workspace, or a null reference (Nothing in Visual Basic) if it is not in a Workspace.
Show: