Export (0) Print
Expand All

VersionControlServer::QueryWorkspaces Method (String, String, String)

Gets an array of Workspace objects that match the specified name, owner, computer, or any combination of these criteria.

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

public:
array<Workspace^>^ QueryWorkspaces(
	String^ workspaceName, 
	String^ workspaceOwner, 
	String^ computer
)

Parameters

workspaceName
Type: System::String

The name of the workspace, or null to query all workspace names.

workspaceOwner
Type: System::String

The user name of the owner, or null to query all users.

computer
Type: System::String

The name of the host computer, or null to query all computers.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client::Workspace>
An array of Workspace objects that match the specified filters.

Show:
© 2014 Microsoft