TeamFoundationBuildService.QueryBuildDefinitions Method (TeamFoundationRequestContext, BuildDefinitionSpec)
Queries build definitions using the provided query specification.
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Function QueryBuildDefinitions ( _
requestContext As TeamFoundationRequestContext, _
spec As BuildDefinitionSpec _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryBuildDefinitions(
TeamFoundationRequestContext requestContext,
BuildDefinitionSpec spec
)
public:
TeamFoundationDataReader^ QueryBuildDefinitions(
TeamFoundationRequestContext^ requestContext,
BuildDefinitionSpec^ spec
)
member QueryBuildDefinitions :
requestContext:TeamFoundationRequestContext *
spec:BuildDefinitionSpec -> TeamFoundationDataReader
public function QueryBuildDefinitions(
requestContext : TeamFoundationRequestContext,
spec : BuildDefinitionSpec
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
spec
Type: Microsoft.TeamFoundation.Build.Server.BuildDefinitionSpecThe query specification.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
The build definitions matching the input specification and optional supporting objects.
.NET Framework Security
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuildDefinition]
The caller must have ViewBuildDefinition permission for the target build definition(s).
[M:F:Microsoft.TeamFoundation.Build.Common.BuildPermissions.ViewBuildDefinition]
The caller must have [ViewBuildDefinition] permission for the target build definition(s).
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.
See Also
Reference
TeamFoundationBuildService Class