UpdateSchemaLocation(String):Void

Renames the current schema.

The name of a schema is defined in the content (XSD) of a schema. An updating of the content is thus carried out in the case of this method. No new version is generated for the schema however. In the case of possible further changes to the schema, it is important, should the XSD be updated, for the XSD to be called again after renaming. If an XSD is set which, as an onion:schemaLocation attribute of the element xsd:schema, has another name, then the schema is given this name.

Return type: System.Void

Parameter

newLocation

Type: System.String

This parameter is the new name of the schema.

The name must be unique in the schema management, otherwise an exception of the type SchemaAlreadyExistsException is triggered.