大网数据广告活动
网络与域名解析

MSFT_NetNatTransitionConfiguration class

· 52CE 我爱测

Provides configuration settings for Network Address Translation (NAT).

Provides configuration settings for Network Address Translation (NAT).

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Provider("NetTtCim")]
class MSFT_NetNatTransitionConfiguration : MSFT_NetSettingData
{
  string InstanceName;
  uint32 PolicyStore;
  uint32 State;
  string InboundInterface[];
  string OutboundInterface[];
  string PrefixMapping[];
  string IPv4AddressPortPool[];
         TcpMappingTimeout;
};

Members

The MSFT_NetNatTransitionConfiguration class has these types of members:

Methods

The MSFT_NetNatTransitionConfiguration class has these methods.

Method Description
Disable Turns NAT64 off.
Enable Turns NAT64 on.

Properties

The MSFT_NetNatTransitionConfiguration class has these properties.

InboundInterface

Data type: string array

Access type: Read/write

Indicates the names of the inbound interfaces.

InstanceName

Data type: string

Access type: Read-only

Indicates the name of this instance of Windows NAT.

IPv4AddressPortPool

Data type: string array

Access type: Read/write

Indicates the addresses and ports that are in the dedicated IPv4 address pool and port range.

OutboundInterface

Data type: string array

Access type: Read/write

Indicates the names of the outbound interfaces.

PolicyStore

Data type: uint32

Access type: Read/write

Specifies the store in which to store this configuration object.

PersistentStore (0)

ActiveStore (1)

PrefixMapping

Data type: string array

Access type: Read/write

Indicates how IPv4 address ranges map to IPv6 prefixes.

State

Data type: uint32

Access type: Read/write

Indicates whether NAT is turned on.

Value Meaning
Disabled 0 NAT is turned off.
Enabled 1 NAT is turned on.

TcpMappingTimeout

Access type: Read/write

Indicates the amount of time an established TCP session can remain idle before timing out.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Namespace Root\StandardCimv2
MOF NetTtCim.mof
DLL NetTtCim.dll

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors (upstream author metadata: windowssdkdev). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。