Share via


InputEndpoint.LocalPort Property

Gets or sets the internal port on which the Virtual Machine is listening.

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

Usage

'Usage
Dim instance As InputEndpoint
Dim value As Nullable(Of Integer)

value = instance.LocalPort

instance.LocalPort = value

Syntax

'Declaration
Public Property LocalPort As Nullable(Of Integer)
public Nullable<int> LocalPort { get; set; }
public:
property Nullable<int> LocalPort {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
/** @property */
public Nullable<int> get_LocalPort ()

/** @property */
public void set_LocalPort (Nullable<int> value)
public function get LocalPort () : Nullable<int>

public function set LocalPort (value : Nullable<int>)

Property Value

The internal port.

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

InputEndpoint Class
InputEndpoint Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace