Export (0) Print
Expand All
Expand Minimize

VersionControlServer.QueryWorkspaces Method

Retrieves a list of workspaces that matches the specified name, owner, and computer.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public Workspace[] QueryWorkspaces (
	string workspaceName,
	string workspaceOwner,
	string computer
)
public Workspace[] QueryWorkspaces (
	String workspaceName, 
	String workspaceOwner, 
	String computer
)
public function QueryWorkspaces (
	workspaceName : String, 
	workspaceOwner : String, 
	computer : String
) : Workspace[]

Parameters

workspaceName

The name of the workspace. Use a null reference (Nothing in Visual Basic) for all workspace names.

workspaceOwner

The username of the owner. Use a null reference (Nothing in Visual Basic) for all users.

computer

The name of the host computer. Use a null reference (Nothing in Visual Basic) for all computers.

Return Value

Returns an array of matching Workspaces.

Community Additions

ADD
Show:
© 2014 Microsoft