Share via


VersionControlServer.QueryWorkspaces-Methode (String, String, String)

Ruft ein Array von Workspace-Objekten Übereinstimmung dass der angegebene Name, Besitzer, Computer oder eine beliebige Kombination dieser Kriterien ab.

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

Syntax

'Declaration
Public Function QueryWorkspaces ( _
    workspaceName As String, _
    workspaceOwner As String, _
    computer As String _
) As Workspace()
public Workspace[] QueryWorkspaces(
    string workspaceName,
    string workspaceOwner,
    string computer
)

Parameter

  • workspaceName
    Typ: System.String
    Der Namen des Arbeitsbereichs, oder NULL aller Arbeitsbereichsnamen abzufragen.
  • workspaceOwner
    Typ: System.String
    Benutzername des Besitzers, oder NULL aller Benutzer abgefragt.
  • computer
    Typ: System.String
    Der Name des Hostcomputers, oder NULL aller Computer abfragen.

Rückgabewert

Typ: array<Microsoft.TeamFoundation.VersionControl.Client.Workspace[]
Ein Array von Workspace-Objekten dass Übereinstimmung die angegebenen Filter ein.

.NET Framework-Sicherheit

Siehe auch

Referenz

VersionControlServer Klasse

QueryWorkspaces-Überladung

Microsoft.TeamFoundation.VersionControl.Client-Namespace