Delen via


Repository.QueryLocalVersions Method

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
<WebMethodAttribute> _
Public Function QueryLocalVersions ( _
    workspaceName As String, _
    workspaceOwner As String, _
    itemSpecs As ItemSpec() _
) As List(Of StreamingCollection(Of LocalVersion))
[WebMethodAttribute]
public List<StreamingCollection<LocalVersion>> QueryLocalVersions(
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] itemSpecs
)
[WebMethodAttribute]
public:
List<StreamingCollection<LocalVersion^>^>^ QueryLocalVersions(
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<ItemSpec^>^ itemSpecs
)
[<WebMethodAttribute>]
member QueryLocalVersions : 
        workspaceName:string * 
        workspaceOwner:string * 
        itemSpecs:ItemSpec[] -> List<StreamingCollection<LocalVersion>> 
public function QueryLocalVersions(
    workspaceName : String, 
    workspaceOwner : String, 
    itemSpecs : ItemSpec[]
) : List<StreamingCollection<LocalVersion>>

Parameters

Return Value

Type: System.Collections.Generic.List<StreamingCollection<LocalVersion>>
A list of local items.

.NET Framework Security

See Also

Reference

Repository Class

Microsoft.TeamFoundation.VersionControl.Server Namespace