Queries the local item information which a user has in their workspace.
Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function QueryLocalVersions ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    itemSpecs As ItemSpec() _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryLocalVersions(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] itemSpecs
)
public:
TeamFoundationDataReader^ QueryLocalVersions(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<ItemSpec^>^ itemSpecs
)
member QueryLocalVersions : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        workspaceOwner:string * 
        itemSpecs:ItemSpec[] -> TeamFoundationDataReader
public function QueryLocalVersions(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    workspaceOwner : String, 
    itemSpecs : ItemSpec[]
) : TeamFoundationDataReader
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context. 
- workspaceName 
 Type: System.String- Name of the workspace. 
- workspaceOwner 
 Type: System.String- Owner of the workspace. 
- itemSpecs 
 Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]- List of ItemSpecs to query. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
TeamFoundationDataReader with results in the following order: LocalVersion[][] - A list of local items.
.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.