Compartir a través de


SetCHAPSecret method of the MSFT_iSCSISession class

Sets a CHAP secret key for use with iSCSI initiator connections.

Syntax

uint32 SetCHAPSecret(
  [in] string ChapSecret
);

Parameters

ChapSecret [in]

The CHAP secret to use for CHAP connections.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Namespace
Root\Microsoft\Windows\Storage
MOF
Iscsiwmiv2.mof

See also

MSFT_iSCSISession