DefinitionReference Class

Definition

Represents a reference to a definition.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.TeamFoundation.Build.WebApi.DefinitionReferenceJsonConverter))]
[System.Runtime.Serialization.DataContract]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinition))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.Build.WebApi.BuildDefinitionReference))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.TeamFoundation.Build.WebApi.XamlBuildDefinition))]
public class DefinitionReference : Microsoft.TeamFoundation.Build.WebApi.ShallowReference, Microsoft.VisualStudio.Services.WebApi.ISecuredObject
type DefinitionReference = class
    inherit ShallowReference
    interface ISecuredObject
Public Class DefinitionReference
Inherits ShallowReference
Implements ISecuredObject
Inheritance
DefinitionReference
Derived
Attributes
Newtonsoft.Json.JsonConverterAttribute DataContractAttribute KnownTypeAttribute
Implements
Microsoft.VisualStudio.Services.WebApi.ISecuredObject

Constructors

DefinitionReference()

Properties

CreatedDate

The date the definition was created.

Id

The ID of the referenced definition.

Name

The name of the referenced definition.

Path

The folder path of the definition.

Project

A reference to the project.

QueueStatus

A value that indicates whether builds can be queued against this definition.

Revision

The definition revision number.

Type

The type of the definition.

Uri

The definition's URI.

Url

The REST URL of the definition.

Explicit Interface Implementations

ISecuredObject.GetToken()
ISecuredObject.NamespaceId
ISecuredObject.RequiredPermissions

Applies to