The RegenerateMetadata client API is used to regenerate the metadata in the system with the latest as built. This client API uses no parameters.
The RegenerateMetadata method uses this client API to automatically regenerate the metadata in the system with the latest as built from the user interface.