Creates or updates a feature schema within the specified feature source. For this method to actually delete any schema elements, the matching elements in the input schema must be marked for deletion using the MgFeatureSchema::Delete(), MgClassDefinition::Delete() and MgPropertyDefinition::Delete() methods.
.NET Syntax
virtual void ApplySchema(MgResourceIdentifier resource, MgFeatureSchema schema);
|
Java Syntax
virtual void ApplySchema(MgResourceIdentifier resource, MgFeatureSchema schema);
|
PHP Syntax
virtual void ApplySchema(MgResourceIdentifier resource, MgFeatureSchema schema);
|
- Parameters:
-
resource | (MgResourceIdentifier) A resource identifier referring to a feature source. |
schema | Input schema to be created or updated. |
- Returns:
- Returns nothing.
- Since:
- 2.2