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
workspaceName
Type: System.StringName of the workspace.
workspaceOwner
Type: System.StringOwner of the workspace.
- itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
Return Value
Type: System.Collections.Generic.List<StreamingCollection<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.