NWDeleteProperty

Removes a property from a bindery object associated with the specified connection handle

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Bindery

Syntax

C

   #include <nwbindry.h> 
   or 
   #include <nwcalls.h> 
    
   NWCCODE N_API NWDeleteProperty ( 
      NWCONN_HANDLE       conn,  
      const nstr8 N_FAR  *objectName,  
      nuint16             objectType,  
      const nstr8 N_FAR  *propertyName);
   

Pascal

   uses calwin32 
    
   Function NWDeleteProperty 
     (conn : NWCONN_HANDLE; 
      const objName : pnstr8; 
      objType : nuint16; 
      const propertyName : pnstr8 
   ) : NWCCODE; stdcall;
   

Parameters

conn
(IN) Specifies the NetWare server connection handle.
objectName
(IN) Points to the name of the object whose property is being deleted.
objectType
(IN) Specifies the type of the object whose property is being deleted.
propertyName
(IN) Points to the property name to be deleted.

Return Values

These are common return values. See Return Values (Return Values for C).

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x8996

SERVER_OUT_OF_MEMORY

0x89F0

WILD_CARD_NOT_ALLOWED

0x89F1

INVALID_BINDERY_SECURITY

0x89F6

NO_PROPERTY_DELETE_PRIVILEGE

0x89FB

NO_SUCH_PROPERTY

0x89FC

NO_SUCH_OBJECT

0x89FE

BINDERY_LOCKED

0x89FF

HARDWARE_FAILURE

Remarks

NWDeleteProperty requires Write access to the bindery object and the property.

The objName and objType parameters must uniquely identify the bindery object and cannot contain wildcard characters.

All matching properties of the bindery object are deleted when the propertyName parameter contains wildcard characters.

See Object Type.

NCP Calls

See Also

NWDeleteObjectFromSet, NWDeleteObject