IWithDestinationPort<ParentT>.ToPortRange(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the destination port range to which this rule applies.
public Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IWithProtocol<ParentT> ToPortRange (int from, int to);
abstract member ToPortRange : int * int -> Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.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.