ClearPersistentIScsiDevices function (iscsidsc.h)

The ClearPersistentIscsiDevices function removes all volumes and devices from the list of persistently bound iSCSI volumes.

Syntax

ISDSC_STATUS ISDSC_API ClearPersistentIScsiDevices();

Return value

returns ERROR_SUCCESS if the operation succeeds and the appropriate Win32 or iSCSI error code if the operation fails.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header iscsidsc.h
Library Iscsidsc.lib
DLL Iscsidsc.dll

See also

AddPersistentIscsiDevice

RemoveIscsiPersistentTarget

RemovePersistentIscsiDevice

ReportIscsiPersistentLogins

ReportPersistentIscsiDevices

SetupPersistentIscsiDevices