Updates resource configuration based on fields in pRes.
#include <ncssdk.h> NCS_RETURN UpdateResource ( NCS_HANDLE Handle, NCS_RESOURCE *pRes);
(IN) Specifies the application’s handle.
(IN/OUT) Specifies the resource, which must be filled in on call. Uses uniObjName if available (see NCS_RESOURCE).
Updates a resource, including load and unload scripts, but does not allow for changing the IP address of a volume resource, which must be done using ConsoleOne or the NRM interface.
The resource should be in the offline state when updated. Do a read resource first, without discarding any fields of data. Only update the fields that you want changed.