Share via


ServerFarmGetResponse.NumberOfWorkers Property

Gets or sets the number of Virtual Machines that are dedicated to the server farm.

Namespace: Microsoft.WindowsAzure.Management.WebSites.Models
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Usage

'Usage
Dim instance As ServerFarmGetResponse
Dim value As Integer

value = instance.NumberOfWorkers

instance.NumberOfWorkers = value

Syntax

'Declaration
Public Property NumberOfWorkers As Integer
public int NumberOfWorkers { get; set; }
public:
property int NumberOfWorkers {
    int get ();
    void set (int value);
}
/** @property */
public int get_NumberOfWorkers ()

/** @property */
public void set_NumberOfWorkers (int value)
public function get NumberOfWorkers () : int

public function set NumberOfWorkers (value : int)

Property Value

The number of Virtual Machines.

Remarks

Supported values are 1-10.

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.

Platforms

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

See Also

Reference

ServerFarmGetResponse Class
ServerFarmGetResponse Members
Microsoft.WindowsAzure.Management.WebSites.Models Namespace