Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
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
)
public:
array<Workspace^>^ QueryWorkspaces(
String^ workspaceName,
String^ workspaceOwner,
String^ computer
)
member QueryWorkspaces :
workspaceName:string *
workspaceOwner:string *
computer:string -> Workspace[]
public function QueryWorkspaces(
workspaceName : String,
workspaceOwner : String,
computer : String
) : Workspace[]
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.