ArcObjects Library Reference (GeoDatabaseDistributed)  

ISchemaChangesInit.InitFromSchemaDifferencesDocument Method

Initializes the object using a schema differences document and a target replica workspace.

[Visual Basic .NET]
Public Sub InitFromSchemaDifferencesDocument ( _
    ByVal xmlFile As String, _
    ByVal TargetWorkspaceName As IWorkspaceName _
)
[C#]
public void InitFromSchemaDifferencesDocument (
    string xmlFile,
    IWorkspaceName TargetWorkspaceName
);
[C++]
HRESULT InitFromSchemaDifferencesDocument(
  BSTR xmlFile,
  IWorkspaceName* TargetWorkspaceName
);
[C++]

Parameters

xmlFile [in]   xmlFile is a parameter of type BSTR TargetWorkspaceName [in]

  TargetWorkspaceName is a parameter of type IWorkspaceName

Product Availability

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

Remarks

This method initializes a SchemaChanges object from a schema differences document.

The xmlfile is the schema differences document.  The targetWorkspaceName is the workspace name of the replica you are making the comparison to.

See Also

ISchemaChangesInit Interface