RemoveIscsiStaticTarget function

The RemoveIscsiStaticTarget function removes a target from the list of static targets made available to the machine.

Syntax


HRESULT WINAPI RemoveIscsiStaticTarget(
  _In_  PTCHAR TargetName
);

Parameters

TargetName [in]

The name of the iSCSI target to remove from the static list.

Return value

Returns ERROR_SUCCESS if the operation succeeds. Otherwise, it returns the appropriate Win32 or iSCSI error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Iscsidsc.h

Library

Iscsidsc.lib

DLL

Iscsidsc.dll

Unicode and ANSI names

RemoveIscsiStaticTargetW (Unicode) and RemoveIscsiStaticTargetA (ANSI)

See also

AddIscsiStaticTarget

 

 

Community Additions

ADD
Show:
© 2014 Microsoft