Share via


BuildRequest.BatchId Property

Gets or sets the batch ID for this request. Requests with matching batch IDs are started together in a single build up to a maximum batch size configured on the Build Definition.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, Direction := ClientPropertySerialization.ClientToServerOnly)> _
Public Property BatchId As Guid
[ClientPropertyAttribute(ClientVisibility.Public, Direction = ClientPropertySerialization.ClientToServerOnly)]
public Guid BatchId { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, Direction = ClientPropertySerialization::ClientToServerOnly)]
public:
property Guid BatchId {
    Guid get ();
    void set (Guid value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, Direction = ClientPropertySerialization.ClientToServerOnly)>]
member BatchId : Guid with get, set
function get BatchId () : Guid 
function set BatchId (value : Guid)

Property Value

Type: System.Guid
Returns Guid.

.NET Framework Security

See Also

Reference

BuildRequest Class

Microsoft.TeamFoundation.Build.Server Namespace