This documentation is archived and is not being maintained.

BuildDefinition Class


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

[ClassVisibilityAttribute(ClientVisibility.Internal, ClientVisibility.Internal)]
public sealed class BuildDefinition : ICacheable

The BuildDefinition type exposes the following members.

Public propertyBatchSizeGets or sets the maximum batch size when you use the GatedCheckIn trigger.
Public propertyBuildControllerUriGets or sets the URI of the default build controller.
Public propertyContinuousIntegrationQuietPeriodGets or sets the minimum quiet period between builds when you use the BatchedContinuousIntegration trigger.
Public propertyDateCreatedGets the date this build definition was created. This field is read only.
Public propertyDefaultDropLocationGets or sets the UNC path of the default drop location.
Public propertyDescriptionGets or sets the description.
Public propertyFullPathGets or sets the full path of the definition.
Public propertyLastBuildUriGets the URI of the last build. This field is read only.
Public propertyLastGoodBuildLabelGets the label created for the last good build. This field is read only.
Public propertyLastGoodBuildUriGets the URI of the last good build. This field is read only.
Public propertyNameGets the name of this object.
Public propertyProcessGets or sets the associated process template.
Public propertyProcessParametersGets 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 propertyPropertiesGets the attached property values.
Public propertyPropertyCollection
Public propertyQueueStatusGets or sets the queue status of the definition.
Public propertyRetentionPoliciesGets the retention policies. Specifies automatic build deletion policies.
Public propertySchedulesGets the schedules. Specifies the days and time that a build definition should automatically start a build.
Public propertySourceProvidersGets the source providers for this definition.
Public propertyTriggerTypeGets or sets the trigger used for system builds. Multiple values are not allowed.
Public propertyUriGets or sets the URI of the item.
Public propertyWorkspaceTemplateGets or sets the workspace template that is used to create a workspace on a build agent.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToString (Overrides Object.ToString().)

Explicit interface implemetationPrivate methodICacheable.GetCachedSizeGets the average size of this object in bytes.

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