This document is archived and information here might be outdated.  Recommended version.


IImportSchema.ImportSchema Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseDistributed)  

IImportSchema.ImportSchema Method

Import schema info.

[Visual Basic .NET]
Public Sub ImportSchema ( _
    ByVal SchemaChanges As ISchemaChanges _
)
[C#]
public void ImportSchema (
    ISchemaChanges SchemaChanges
);
[C++]
HRESULT ImportSchema(
  ISchemaChanges* SchemaChanges
);
[C++]

Parameters SchemaChanges [in]
SchemaChanges is a parameter of type ISchemaChanges

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

This method is used to import schema into a target workspace.

It takes one parameter, a reference to a schemachanges object as input.  The schemachanges object must first be initialized by methods on the ISchemaChangesInit interface.  This is where you will specify the target workspace.  See the SchemaChanges coclass for more information.

See the ReplicaSchemaExporter coclass for information on exporting a replica schema.

See Also

IImportSchema Interface