Delen via


IWithDestinationPort<ParentT>.ToPortRange(Int32, Int32) Method

Definition

Specifies the destination port range to which this rule applies.

public Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithProtocol<ParentT> ToPortRange (int from, int to);
abstract member ToPortRange : int * int -> Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithProtocol<'ParentT>
Public Function ToPortRange (from As Integer, to As Integer) As IWithProtocol(Of ParentT)

Parameters

from
Int32

The starting port number.

to
Int32

The ending port number.

Returns

Applies to