Share via


BuildDefinition2010 Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Server.Compatibility.BuildGroupItem2010
    Microsoft.TeamFoundation.Build.Server.Compatibility.BuildDefinition2010

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

Syntax

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

The BuildDefinition2010 type exposes the following members.

Constructors

  Name Description
Public method BuildDefinition2010

Top

Properties

  Name Description
Public property BuildControllerUri Gets or sets the URI of the default build controller.
Public property ConfigurationFolderUri
Public property ContinuousIntegrationQuietPeriod Gets or sets the minimum quiet period between builds when you use the ContinuousIntegrationType.Batch trigger.
Public property ContinuousIntegrationType Gets or sets the trigger used for system builds. Multiple values are not allowed.
Public property DefaultBuildAgentUri
Public property DefaultDropLocation Gets or sets the UNC path of the default drop location.
Public property Description Gets or sets the description.
Public property Enabled Gets or sets the enabled state.
Public property FullPath Gets or sets the full path of the item. (Inherited from BuildGroupItem2010.)
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 MaxTimeout
Public property Name Gets the name of this object. (Inherited from BuildGroupItem2010.)
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 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 Uri Gets or sets the URI of the item. (Inherited from BuildGroupItem2010.)
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.Compatibility Namespace