Share via


NetworkSecuritySetRuleParameters.SourcePortRange Property

Required. Gets or sets Source Port (single port) or Source 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.SourcePortRange

instance.SourcePortRange = value

Syntax

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

/** @property */
public void set_SourcePortRange (String value)
public function get SourcePortRange () : String

public function set SourcePortRange (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