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 | |
---|---|---|
BuildDefinition |
Top
Properties
Name | Description | |
---|---|---|
BatchSize | Gets or sets the maximum batch size when you use the GatedCheckIn trigger. | |
BuildControllerUri | Gets or sets the URI of the default build controller. | |
ContinuousIntegrationQuietPeriod | Gets or sets the minimum quiet period between builds when you use the BatchedContinuousIntegration trigger. | |
DateCreated | Gets the date this build definition was created. This field is read only. | |
DefaultDropLocation | Gets or sets the UNC path of the default drop location. | |
Description | Gets or sets the description. | |
FullPath | Gets or sets the full path of the definition. | |
LastBuildUri | Gets the URI of the last build. This field is read only. | |
LastGoodBuildLabel | Gets the label created for the last good build. This field is read only. | |
LastGoodBuildUri | Gets the URI of the last good build. This field is read only. | |
Name | Gets the name of this object. | |
Process | Gets or sets the associated process template. | |
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. | |
Properties | Gets the attached property values. | |
PropertyCollection | ||
QueueStatus | Gets or sets the queue status of the definition. | |
RetentionPolicies | Gets the retention policies. Specifies automatic build deletion policies. | |
Schedules | Gets the schedules. Specifies the days and time that a build definition should automatically start a build. | |
SourceProviders | Gets the source providers for this definition. | |
TriggerType | Gets or sets the trigger used for system builds. Multiple values are not allowed. | |
Uri | Gets or sets the URI of the item. | |
WorkspaceTemplate | Gets or sets the workspace template that is used to create a workspace on a build agent. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | (Overrides Object.ToString().) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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.