你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkInterface.UpdateStages.WithIPForwarding 接口
public interface WithIPForwarding
允许启用或禁用 IP 转发的网络接口更新阶段。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Network |
withIPForwarding()
在网络接口中启用 IP 转发。 |
Network |
withoutIPForwarding()
在网络接口中禁用 IP 转发。 |
方法详细信息
withIPForwarding
public Update withIPForwarding()
在网络接口中启用 IP 转发。
返回:
网络接口更新的下一阶段
withoutIPForwarding
public Update withoutIPForwarding()
在网络接口中禁用 IP 转发。
返回:
网络接口更新的下一阶段