EnterpriseAPN 云解决方案提供商EnterpriseAPN CSP

EnterpriseAPN 配置服务提供程序 (CSP) 企业用于为 Internet 设置 APN。The EnterpriseAPN configuration service provider (CSP) is used by the enterprise to provision an APN for the Internet.

备注

从 Windows 10 版本 1703 开始,EnterpriseAPN CSP 在 Windows 10 家庭版、专业版、企业版和教育版中受支持。Starting in Windows 10, version 1703 the EnterpriseAPN CSP is supported in Windows 10 Home, Pro, Enterprise, and Education editions.

下面以树格式显示 EnterpriseAPN 配置服务提供程序。The following shows the EnterpriseAPN configuration service provider in tree format.

./Vendor/MSFT
EnterpriseAPN
----ConnectionName
--------APNName
--------IPType
--------IsAttachAPN
--------ClassId
--------AuthType
--------UserName
--------Password
--------IccId
--------AlwaysOn
--------Enabled
----Settings
--------AllowUserControl
--------HideView

EnterpriseAPNEnterpriseAPN

EnterpriseAPN 配置服务提供程序的根节点。The root node for the EnterpriseAPN configuration service provider.

EnterpriseAPN/ ConnectionNameEnterpriseAPN/ConnectionName

Windows 连接管理器看到的连接的名称。Name of the connection as seen by Windows Connection Manager.

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/APNNameEnterpriseAPN/ConnectionName/APNName

企业 APN 名称。Enterprise APN name.

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/IPTypeEnterpriseAPN/ConnectionName/IPType

此值可以是下列值之一:This value can be one of the following:

  • IPv4 - 仅 IPV4 连接类型IPv4 - only IPV4 connection type
  • IPv6 - 仅 IPv6 连接类型IPv6 - only IPv6 connection type
  • IPv4v6 (默认) - IPv4 和 IPv6 并发。IPv4v6 (default)- IPv4 and IPv6 concurrently.
  • IPv4v6xlat - IPv6 和 IPv4 由 46xlat 提供IPv4v6xlat - IPv6 with IPv4 provided by 46xlat

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/IsAttachAPNEnterpriseAPN/ConnectionName/IsAttachAPN

指示是否应该请求此 APN 作为 LTE 附加的一部分的布尔值。Boolean value that indicates whether this APN should be requested as part of an LTE Attach. 默认值为 false。Default value is false.

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/ClassIdEnterpriseAPN/ConnectionName/ClassId

定义调制解调器的 APN 类的 GUID。GUID that defines the APN class to the modem. 这与云解决方案提供商中的 OEMConnectionId CM_CellularEntries相同。This is the same as the OEMConnectionId in CM_CellularEntries CSP. 通常不存在此设置。Normally this setting is not present. 只有当 IsAttachAPN 为 true 且附加 APN 不只用作 Internet APN 时,才需要它。It is only required when IsAttachAPN is true and the attach APN is not only used as the Internet APN.

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/AuthTypeEnterpriseAPN/ConnectionName/AuthType

身份验证类型。Authentication type. 此值可以是下列值之一:This value can be one of the following:

  • 默认 (无) None (default)
  • 自动Auto
  • PAPPAP
  • CHAPCHAP
  • MSCHAPv2MSCHAPv2

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/UserNameEnterpriseAPN/ConnectionName/UserName

用于 PAP、CHAP 或 MSCHAPv2 身份验证的用户名。User name for use with PAP, CHAP, or MSCHAPv2 authentication.

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/PasswordEnterpriseAPN/ConnectionName/Password

与用户名对应的密码。Password corresponding to the username.

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/IccIdEnterpriseAPN/ConnectionName/IccId

集成的电路卡 ID (与) 配置文件关联的 ICCID。Integrated Circuit Card ID (ICCID) associated with the cellular connection profile. 如果此节点不存在,则使用 UICC 的 ICCID 在单槽设备上创建连接,在双槽设备上使用对数据处于活动状态的 UICC 的 ICCID 创建连接。If this node is not present, the connection is created on a single-slot device using the ICCID of the UICC and on a dual-slot device using the ICCID of the UICC that is active for data.

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/AlwaysOnEnterpriseAPN/ConnectionName/AlwaysOn

已添加到 Windows 10 版本 1607。Added in Windows 10, version 1607. 指定 CM 是否将在连接可用时自动尝试连接到 APN 的布尔值。Boolean value that specifies whether the CM will automatically attempt to connect to the APN when a connection is available.

默认值为 true。The default value is true.

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/EnabledEnterpriseAPN/ConnectionName/Enabled

已添加到 Windows 10 版本 1607。Added in Windows 10, version 1607. 指定是否启用连接的 Boolean。Boolean that specifies whether the connection is enabled.

默认值为 true。The default value is true.

支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/ConnectionName/RoamingEnterpriseAPN/ConnectionName/Roaming

已添加到 Windows 10 版本 1703。Added in Windows 10, version 1703. 指定在设备漫游时是否应该激活连接。Specifies whether the connection should be activated when the device is roaming. 有效值:Valid values:

  • 0 - 不允许0 - Disallowed
  • 1 - 允许1 - Allowed
  • 2 - 国内2 - DomesticRoaming
  • 3 - UseOnlyForDomesticRoaming3 - UseOnlyForDomesticRoaming
  • 4 - UseOnlyForNonDomesticRoaming4 - UseOnlyForNonDomesticRoaming
  • 5 - UseOnlyForRoaming5 - UseOnlyForRoaming

默认值为 1 (允许的所有漫游) 。Default is 1 (all roaming allowed).

值类型为字符串。Value type is string. 支持的操作包括添加、获取、删除和替换。Supported operations are Add, Get, Delete, and Replace.

EnterpriseAPN/SettingsEnterpriseAPN/Settings

已添加到 Windows 10 版本 1607。Added in Windows 10, version 1607. 包含全局设置的节点。Node that contains global settings.

EnterpriseAPN/Settings/AllowUserControlEnterpriseAPN/Settings/AllowUserControl

已添加到 Windows 10 版本 1607。Added in Windows 10, version 1607. 指定手机网络 UX 是否允许用户与除企业接入点外的其他 APN 进行连接的布尔值。Boolean value that specifies whether the cellular UX will allow users to connect with other APNs other than the Enterprise APN.

默认值为 false。The default value is false.

支持的操作包括 Get 和 Replace。Supported operations are Get and Replace.

EnterpriseAPN/Settings/HideViewEnterpriseAPN/Settings/HideView

已添加到 Windows 10 版本 1607。Added in Windows 10, version 1607. 指定手机网络 UX 是否允许用户查看企业 APN 的布尔值。Boolean that specifies whether the cellular UX will allow the user to view enterprise APNs. 仅在 AllowUserControl 为 true 时适用。Only applicable if AllowUserControl is true.

默认值为 false。The default value is false.

支持的操作包括 Get 和 Replace。Supported operations are Get and Replace.

示例Examples

<!--
Copyright (c) Microsoft Corporation.  All rights reserved.
-->
<!--
Use of this source code is subject to the terms of the Microsoft
premium shared source license agreement under which you licensed
this source code. If you did not accept the terms of the license
agreement, you are not authorized to use this source code.
For the terms of the license, please see the license agreement
signed by you and Microsoft.
THE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.

-->

<SyncML>
  <SyncBody>
    <Atomic>
      <CmdID>8000</CmdID>
      <!-- Sub-tree 1 -->
      <add>
        <CmdID>8001</CmdID>
        <Item>
          <Target>
            <LocURI>./Vendor/MSFT/EnterpriseAPN/E_APN1/APNName</LocURI>
          </Target>
          <Meta>
            <Format xmlns="syncml:metinf">chr</Format>
          </Meta>
          <Data>enterprise_apn1</Data>
        </Item>
      </add>
      <add>
        <CmdID>8002</CmdID>
        <Item>
          <Target>
            <LocURI>./Vendor/MSFT/EnterpriseAPN/E_APN1/IPType</LocURI>
          </Target>
          <Meta>
            <Format xmlns="syncml:metinf">chr</Format>
          </Meta>
          <Data>IPv4</Data>
        </Item>
      </add>
      <add>
        <CmdID>8003</CmdID>
        <Item>
          <Target>
            <LocURI>./Vendor/MSFT/EnterpriseAPN/E_APN1/IsAttachAPN</LocURI>
          </Target>
          <Meta>
            <Format xmlns="syncml:metinf">bool</Format>
          </Meta>
          <Data>false</Data>
        </Item>
      </add>
      <add>
        <CmdID>8004</CmdID>
        <Item>
          <Target>
            <LocURI>./Vendor/MSFT/EnterpriseAPN/E_APN1/ClassId</LocURI>
          </Target>
          <Meta>
            <Format xmlns="syncml:metinf">chr</Format>
          </Meta>
          <Data>AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA</Data>
        </Item>
      </add>
      <add>
        <CmdID>8005</CmdID>
        <Item>
          <Target>
            <LocURI>./Vendor/MSFT/EnterpriseAPN/E_APN1/AuthType</LocURI>
          </Target>
          <Meta>
            <Format xmlns="syncml:metinf">chr</Format>
          </Meta>
          <Data>CHAP</Data>
        </Item>
      </add>
      <add>
        <CmdID>8006</CmdID>
        <Item>
          <Target>
            <LocURI>./Vendor/MSFT/EnterpriseAPN/E_APN1/UserName</LocURI>
          </Target>
          <Meta>
            <Format xmlns="syncml:metinf">chr</Format>
          </Meta>
          <Data>myusername</Data>
        </Item>
      </add>
      <add>
        <CmdID>8007</CmdID>
        <Item>
          <Target>
            <LocURI>./Vendor/MSFT/EnterpriseAPN/E_APN1/Password</LocURI>
          </Target>
          <Meta>
            <Format xmlns="syncml:metinf">chr</Format>
          </Meta>
          <Data>mypassword</Data>
        </Item>
      </add>
      <add>
        <CmdID>8008</CmdID>
        <Item>
          <Target>
            <LocURI>./Vendor/MSFT/EnterpriseAPN/E_APN1/IccId</LocURI>
          </Target>
          <Meta>
            <Format xmlns="syncml:metinf">chr</Format>
          </Meta>
          <Data>FFFFFFFFFFFFFFFFFFFF</Data>
        </Item>
      </add>
    </Atomic>
    <Final/>
  </SyncBody>

<!--
===============================================================================
atomicA

add chr  EnterpriseAPN/E_APN1/APNName                     enterprise_apn1
add chr  EnterpriseAPN/E_APN1/IPType                      IPv4
add bool EnterpriseAPN/E_APN1/IsAttachAPN                 false
add chr  EnterpriseAPN/E_APN1/ClassId                     AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA
add chr  EnterpriseAPN/E_APN1/AuthType                    CHAP
add chr  EnterpriseAPN/E_APN1/UserName                    myusername
add chr  EnterpriseAPN/E_APN1/Password                    mypassword
add chr  EnterpriseAPN/E_APN1/IccId                       FFFFFFFFFFFFFFFFFFFF

atomicZ
===============================================================================
-->

</SyncML>

配置服务提供程序参考Configuration service provider reference