This documentation is archived and is not being maintained.
VersionControlServer::CompareLabels Method
Visual Studio 2013
Queries for a list of labels applied to items in the repository.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: array<Changeset^>^ CompareLabels( String^ startLabelName, String^ startLabelScope, String^ endLabelName, String^ endLabelScope, int minChangeSet, int maxCount )
Parameters
- startLabelName
- Type: System::String
Name of the label starting the range
- startLabelScope
- Type: System::String
Scope of the label starting the range
- endLabelName
- Type: System::String
Name of the label ending the range
- endLabelScope
- Type: System::String
Scope of the label ending the range
- minChangeSet
- Type: System::Int32
Minimum changeset. 0 == all
- maxCount
- Type: System::Int32
Maximum number of changesets to return
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client::Changeset>The label information for each label selected by the query
- 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: