DefinitionEndpointCreateParameters.Weight Property

Gets or sets the weight of an endpoint in a weighted round robin policy.

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

Usage

'Usage
Dim instance As DefinitionEndpointCreateParameters
Dim value As Integer

value = instance.Weight

instance.Weight = value

Syntax

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

/** @property */
public void set_Weight (int value)
public function get Weight () : int

public function set Weight (value : int)

Property Value

The weight value.

Remarks

The valid range is for this value is [1, 1000]. The default is 1.

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

DefinitionEndpointCreateParameters Class
DefinitionEndpointCreateParameters Members
Microsoft.WindowsAzure.Management.TrafficManager.Models Namespace