This method is used with a PREPARED variable to get the name of the prepared statement associated with it which is used internally by the RDBMS:
variable.GetName()
This method accepts no parameters and returns one value, which is the name of the prepared statement:
CALL prep_v.GetName() RETURNING prep_name