RenameEntry Method  
 

Rename an existing phonebook entry.

Syntax

object.RenameEntry( OldName, NewName )

Parameters

OldName
A string value that specifies the name of the phonebook entry to be renamed.
NewName
A string value that specifies the new name of the phonebook entry. This name must not already exist for another connectoid in the current phonebook.

Return Value

A value of zero is returned if the operation was successful, otherwise a non-zero error code is returned which indicates the cause of the failure.

See Also

CreateEntry Method, DeleteEntry Method, EditEntry Method