Teilen über


TunnelType

Describes the type of IPv6 tunnel used, if any. The following table summarizes the attributes of the TunnelType property.

Attribute Value
Data type Null-terminated Unicode string
Access Read/write
Status Optional
Structure CLUSPROP_SZ
Maximum None (but see Maximum Property Size.)
Default ""

The TunnelType property can be set to one of the following values.

Value Description
"" The IPv6 tunnel type is unspecified.
"ISATAP" The IPv6 tunnel is an Intra-Site Automatic Tunnel Addressing Protocol (ISATAP) tunnel.

Examples

The property value portion of a property list entry for TunnelType can be set with the following example code.

WCHAR                szTunnelTypeData[] = L"ISATAP";
CLUSPROP_SZ_DECLARE( TunnelTypeValue, 
                     sizeof( szTunnelTypeData ) / sizeof( WCHAR ) );

TunnelTypeValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
TunnelTypeValue.cbLength  = sizeof( szTunnelTypeData );
StringCbCopy( TunnelTypeValue.sz, 
              TunnelTypeValue.cbLength, 
              szTunnelTypeData );

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

IPv6 Address Private Properties

CLUSPROP_SZ

CLUSPROP_SZ_DECLARE