This documentation is archived and is not being maintained.
Workstation::QueryLocalWorkspaceInfo Method
Visual Studio 2013
Get an array of WorkspaceInfo objects that match the specified parameters.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: array<WorkspaceInfo^>^ QueryLocalWorkspaceInfo( VersionControlServer^ sourceControl, String^ workspaceName, String^ workspaceOwner )
Parameters
- sourceControl
- Type: Microsoft.TeamFoundation.VersionControl.Client::VersionControlServer
The repository that contains the desired workspace objects.
- workspaceName
- Type: System::String
The name of the desired workspace. Null for all workspaces.
- workspaceOwner
- Type: System::String
The workspace owner. Null for any owner.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client::WorkspaceInfo>An array of WorkspaceInfo objects that match the specified parameters.
- 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.
Show: