Share via


TunnelType

Describes the type of tunnel used, if any, for an Internet Small Computer System Interface (iSCSI) target. 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 tunnel type is unspecified.
"ISATAP" The 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 2012

See also

iSCSI Target Private Properties

CLUSPROP_SZ

CLUSPROP_SZ_DECLARE