Dela via


IWithDestinationPort.ToPortRange(Int32, Int32) Method

Definition

Specifies the destination port range to which this rule applies.

public Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Update.IUpdate ToPortRange (int from, int to);
abstract member ToPortRange : int * int -> Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Update.IUpdate
Public Function ToPortRange (from As Integer, to As Integer) As IUpdate

Parameters

from
Int32

The starting port number.

to
Int32

The ending port number.

Returns

Applies to