Share via


NetworkSecuritySetRuleParameters.DestinationPortRange Property

Required. Gets or sets destination Port (single port) or Destination Port Range (separated by “-“) or star (*) for all ports. All numbers are inclusive. Example: 80, 80-80, 80-81, *

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

Usage

'Usage
Dim instance As NetworkSecuritySetRuleParameters
Dim value As String

value = instance.DestinationPortRange

instance.DestinationPortRange = value

Syntax

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

/** @property */
public void set_DestinationPortRange (String value)
public function get DestinationPortRange () : String

public function set DestinationPortRange (value : String)

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

NetworkSecuritySetRuleParameters Class
NetworkSecuritySetRuleParameters Members
Microsoft.WindowsAzure.Management.Network.Models Namespace