共用方式為


IWithDestinationPort<ParentT> Interface

Definition

The stage of the network rule definition allowing the destination port(s) to be specified.

public interface IWithDestinationPort<ParentT>
type IWithDestinationPort<'ParentT> = interface
Public Interface IWithDestinationPort(Of ParentT)

Type Parameters

ParentT

The stage of the parent definition to return to after attaching this definition.

Derived

Methods

ToAnyPort()

Makes this rule apply to any destination port.

ToPort(Int32)

Specifies the destination port to which this rule applies.

ToPortRange(Int32, Int32)

Specifies the destination port range to which this rule applies.

ToPortRanges(String[])

Specifies the destination port ranges to which this rule applies.

Applies to