RemoveIsnsServer function

The RemoveIsnsServer function removes a server from the list of Internet Storage Name Service (iSNS) servers that the iSCSI initiator service uses to discover targets.

Syntax


HRESULT WINAPI RemoveIsnsServer(
  _In_  PTCHAR Address
);

Parameters

Address [in]

The DNS or IP Address of the server to remove.

Return value

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

Remarks

The RemoveIsnsServer function does not affect the list of discovered targets for the iSCSI initiator service. Targets previously discovered by the iSNS server that is being removed remain on the list of discovered targets. However, the iSNS server is also removed from the persistent list of iSNS servers.

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

RemoveIsnsServerW (Unicode) and RemoveIsnsServerA (ANSI)

See also

AddIsnsServer
RefreshIsnsServer
ReportIsnsServerList

 

 

Community Additions

ADD
Show:
© 2014 Microsoft