Freigeben über


BuildDefinition Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.BuildDefinition

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
<RequiredClientServiceAttribute("BuildServer")> _
<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)> _
<CallOnDeserializationAttribute("AfterDeserialize")> _
<DataContractAttribute> _
Public NotInheritable Class BuildDefinition _
    Implements ICacheable
[RequiredClientServiceAttribute("BuildServer")]
[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
[CallOnDeserializationAttribute("AfterDeserialize")]
[DataContractAttribute]
public sealed class BuildDefinition : ICacheable
[RequiredClientServiceAttribute(L"BuildServer")]
[ClassVisibilityAttribute(ClientVisibility::Internal, ClientVisibility::Internal)]
[CallOnDeserializationAttribute(L"AfterDeserialize")]
[DataContractAttribute]
public ref class BuildDefinition sealed : ICacheable
[<Sealed>]
[<RequiredClientServiceAttribute("BuildServer")>]
[<ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)>]
[<CallOnDeserializationAttribute("AfterDeserialize")>]
[<DataContractAttribute>]
type BuildDefinition =  
    class 
        interface ICacheable 
    end
public final class BuildDefinition implements ICacheable

The BuildDefinition type exposes the following members.

Constructors

  Name Description
Public method BuildDefinition

Top

Properties

  Name Description
Public property BatchSize Gets or sets the maximum batch size when you use the GatedCheckIn trigger.
Public property BuildControllerUri Gets or sets the URI of the default build controller.
Public property ContinuousIntegrationQuietPeriod Gets or sets the minimum quiet period between builds when you use the BatchedContinuousIntegration trigger.
Public property DateCreated Gets the date this build definition was created. This field is read only.
Public property DefaultDropLocation Gets or sets the UNC path of the default drop location.
Public property Description Gets or sets the description.
Public property FullPath Gets or sets the full path of the definition.
Public property LastBuildUri Gets the URI of the last build. This field is read only.
Public property LastGoodBuildLabel Gets the label created for the last good build. This field is read only.
Public property LastGoodBuildUri Gets the URI of the last good build. This field is read only.
Public property Name Gets the name of this object.
Public property Process Gets or sets the associated process template.
Public property ProcessParameters Gets or sets the process parameters. This string should be an XAML serialized Dictionary<String, Object> and should match the parameters of the associated process template.
Public property Properties Gets the attached property values.
Public property PropertyCollection
Public property QueueStatus Gets or sets the queue status of the definition.
Public property RetentionPolicies Gets the retention policies. Specifies automatic build deletion policies.
Public property Schedules Gets the schedules. Specifies the days and time that a build definition should automatically start a build.
Public property SourceProviders Gets the source providers for this definition.
Public property TriggerType Gets or sets the trigger used for system builds. Multiple values are not allowed.
Public property Uri Gets or sets the URI of the item.
Public property WorkspaceTemplate Gets or sets the workspace template that is used to create a workspace on a build agent.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICacheable.GetCachedSize Gets the average size of this object in bytes.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Build.Server Namespace