Repository.QueryLabels Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Декларация
<WebMethodAttribute> _
Public Function QueryLabels ( _
workspaceName As String, _
workspaceOwner As String, _
labelName As String, _
labelScope As String, _
owner As String, _
filterItem As String, _
versionFilterItem As VersionSpec, _
includeItems As Boolean, _
generateDownloadUrls As Boolean _
) As StreamingCollection(Of VersionControlLabel)
[WebMethodAttribute]
public StreamingCollection<VersionControlLabel> QueryLabels(
string workspaceName,
string workspaceOwner,
string labelName,
string labelScope,
string owner,
string filterItem,
VersionSpec versionFilterItem,
bool includeItems,
bool generateDownloadUrls
)
[WebMethodAttribute]
public:
StreamingCollection<VersionControlLabel^>^ QueryLabels(
String^ workspaceName,
String^ workspaceOwner,
String^ labelName,
String^ labelScope,
String^ owner,
String^ filterItem,
VersionSpec^ versionFilterItem,
bool includeItems,
bool generateDownloadUrls
)
[<WebMethodAttribute>]
member QueryLabels :
workspaceName:string *
workspaceOwner:string *
labelName:string *
labelScope:string *
owner:string *
filterItem:string *
versionFilterItem:VersionSpec *
includeItems:bool *
generateDownloadUrls:bool -> StreamingCollection<VersionControlLabel>
public function QueryLabels(
workspaceName : String,
workspaceOwner : String,
labelName : String,
labelScope : String,
owner : String,
filterItem : String,
versionFilterItem : VersionSpec,
includeItems : boolean,
generateDownloadUrls : boolean
) : StreamingCollection<VersionControlLabel>
Parameters
- workspaceName
Type: System.String
- workspaceOwner
Type: System.String
- labelName
Type: System.String
- labelScope
Type: System.String
- owner
Type: System.String
- filterItem
Type: System.String
- versionFilterItem
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
- includeItems
Type: System.Boolean
- generateDownloadUrls
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<VersionControlLabel>
.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.