次の方法で共有


SetIscsiIKEInfo method of the MSIscsiInitiator_MethodClass class

The SetIscsiIKEInfo method sets the iSCSI IKE authentication information for the initiator.

Syntax

uint32 SetIscsiIKEInfo(
  [in] string                                             InitiatorName,
  [in] uint32                                             InitiatorPortNumber,
  [in] MSIscsiInitiator_IKEPresharedKeyAuthenticationInfo AuthInfo,
  [in] boolean                                            Persist
);

Parameters

InitiatorName [in]

The Initiator name.

InitiatorPortNumber [in]

The port number associated with the Initiator.

AuthInfo [in]

An MSIscsiInitiator_IKEPresharedKeyAuthenticationInfo structure containing IKE Authentication information.

Persist [in]

Indicates if the IKE information will persist.

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