Export (0) Print
Expand All

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

Queries for a list of labels applied to items in the database.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public VersionControlLabel[] QueryLabels (
	string labelName,
	string labelScope,
	string owner,
	bool includeItems
)
public VersionControlLabel[] QueryLabels (
	String labelName, 
	String labelScope, 
	String owner, 
	boolean includeItems
)
public function QueryLabels (
	labelName : String, 
	labelScope : String, 
	owner : String, 
	includeItems : boolean
) : VersionControlLabel[]

Parameters

labelName

The name of the label being queried.

labelScope

The database path that indicates the scope at which the label is defined.

owner

The person who created the label. This option can be a null reference (Nothing in Visual Basic) to match all owners.

includeItems

If true, the items in the labels will be included.

Return Value

The label information for each label selected by the query.

Community Additions

ADD
Show:
© 2014 Microsoft