ApplicationDescription.MaximumNodes Property

Definition

Gets or sets the maximum number of nodes where this application can be instantiated.

public long MaximumNodes { get; set; }
member this.MaximumNodes : int64 with get, set
Public Property MaximumNodes As Long

Property Value

System.Int64

Number of nodes this application is allowed to span. Default value is zero. If it is zero, Application can span any number of nodes in the cluster.

If this parameter is smaller than MinimumNodes an System.ArgumentException will be thrown when CreateApplicationAsync(ApplicationDescription) is called.

Applies to