RAS Function Reference

sPBRename

RAS Function Reference

This function renames a connection entry.

<DllImport("SapphireRAS.dll")> _
Public Function sPBRename(ByVal sOldEntryName As String, ByVal sNewEntryName As String, ByVal lLicence As Integer) As Integer
End Function

Parameters

  sOldEntryName
    A string specifying the name of the phone book entry to rename.
  sNewEntryName
    A string specifying the name to rename the connection entry to.
  lLicence
    An integer specifying the licence number of the registered utility. If using in demo mode, enter 1234567890.

Return Values

  Returns a number indicating success or failure where 0 is successful. Use sRASErrMsg to get a string version of the error message.