Share via


WebSite.ServerFarm Property

Gets or sets the name of a server farm.

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

Usage

'Usage
Dim instance As WebSite
Dim value As String

value = instance.ServerFarm

instance.ServerFarm = value

Syntax

'Declaration
Public Property ServerFarm As String
public string ServerFarm { get; set; }
public:
property String^ ServerFarm {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ServerFarm ()

/** @property */
public void set_ServerFarm (String value)
public function get ServerFarm () : String

public function set ServerFarm (value : String)

Property Value

The name.

Remarks

If a server farm exists, this value is DefaultServerFarm.

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, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

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