This documentation is archived and is not being maintained.

Workstation.QueryLocalWorkspaceInfo Method

Get an array of WorkspaceInfo objects that match the specified parameters.

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

public function QueryLocalWorkspaceInfo(
	sourceControl : VersionControlServer, 
	workspaceName : String, 
	workspaceOwner : String
) : WorkspaceInfo[]

Parameters

sourceControl
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer

The repository that contains the desired workspace objects.

workspaceName
Type: System.String

The name of the desired workspace. Null for all workspaces.

workspaceOwner
Type: System.String

The workspace owner. Null for any owner.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo[]
An array of WorkspaceInfo objects that match the specified parameters.

Show: