Freigeben über


Repository.QueryWorkspace-Methode

Sucht nach einen bestimmten Arbeitsbereich. Keine oder Platzhalterzeichen NULL-Werte zulässig.

Löst eine Ausnahme nicht gefundene wenn der Arbeitsbereich aus.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryWorkspace ( _
    workspaceName As String, _
    ownerName As String _
) As Workspace
[WebMethodAttribute]
public Workspace QueryWorkspace(
    string workspaceName,
    string ownerName
)

Parameter

  • workspaceName
    Typ: System.String
    Namen des Arbeitsbereichs, das gesucht wird.
  • ownerName
    Typ: System.String
    Benutzername einschließlich Domäne.

Rückgabewert

Typ: Microsoft.TeamFoundation.VersionControl.Server.Workspace

.NET Framework-Sicherheit

Siehe auch

Referenz

Repository Klasse

Microsoft.TeamFoundation.VersionControl.Server-Namespace