Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

VersionControlServer.QueryLabels Method (String, String, String, Boolean)

Queries for an array of VersionControlLabel objects applied to items in the repository.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Public Function QueryLabels ( _
	labelName As String, _
	labelScope As String, _
	owner As String, _
	includeItems As Boolean _
) As VersionControlLabel()


Type: System.String

The name of the label being queried.

Type: System.String

The repository path representing the scope at which the label is defined.

Type: System.String

The user who created the label. Specify null to match all owners.

Type: System.Boolean

True to include items in the labels. False to not include.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel()
An array of VersionControlLabel objects resulting from the query.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.