Share via


SetIscsiTunnelModeOuterAddress method of the MSIscsiInitiator_MethodClass class

The SetIscsiTunnelModeOuterAddress method sets the iSCSI Tunnel Outer Mode address for the initiator.

Syntax

uint32 SetIscsiTunnelModeOuterAddress(
  [in] string  InitiatorName,
  [in] uint32  InitiatorPortNumber,
  [in] string  DestinationAddress,
  [in] string  OuterModeAddress,
  [in] boolean Persist
);

Parameters

InitiatorName [in]

The name of the Initiator with which the tunnel-mode outer address will be associated. If this parameter is NULL, all HBA initiators are configured to use the indicated tunnel-mode outer address.

InitiatorPortNumber [in]

Indicates the number of the port with which the tunnel-mode outer address is associated.

DestinationAddress [in]

The destination address to associate with the tunnel-mode outer address indicated by OuterModeAddress.

OuterModeAddress [in]

The Outer Mode address of the Initiator.

Persist [in]

When TRUE, this parameter indicates that the iSCSI initiator service stores the Tunnel-Mode Outer Address in non-volatile memory and that the address will persist across restarts of the Initiator and the iSCSI Initiator Service.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Namespace
Root\WMI
MOF
Iscsidsc.mof

See also

MSIscsiInitiator_MethodClass