Udostępnij za pośrednictwem


IWithDestinationPort<ParentT>.ToPort(Int32) Method

Definition

Specifies the destination port to which this rule applies.

public Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithProtocol<ParentT> ToPort (int port);
abstract member ToPort : int -> Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithProtocol<'ParentT>
Public Function ToPort (port As Integer) As IWithProtocol(Of ParentT)

Parameters

port
Int32

The destination port number.

Returns

Applies to