Share via


DefinitionMonitor.Port Property

Gets or sets the port used to monitor endpoint health.

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

Usage

'Usage
Dim instance As DefinitionMonitor
Dim value As Integer

value = instance.Port

instance.Port = value

Syntax

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

/** @property */
public void set_Port (int value)
public function get Port () : int

public function set Port (value : int)

Property Value

The port number.

Remarks

Accepted values are integer values greater than 0 and less or equal to 65,535.

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

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