ArcObjects Library Reference (GeoDatabaseDistributed)  

ISchemaChangesInit.InitFromSchemaDocument Method

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

[Visual Basic .NET]
Public Sub InitFromSchemaDocument ( _
    ByVal xmlFile As String, _
    ByVal TargetWorkspaceName As IWorkspaceName _
)
[C#]
public void InitFromSchemaDocument (
    string xmlFile,
    IWorkspaceName TargetWorkspaceName
);
[C++]
HRESULT InitFromSchemaDocument(
  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

Initializes SchemaChanges object from a replica schema document. Once the SchemaChanges object has been initialized, you can inspect schema differences between replica schema defined in the xmlfile and it's relative replica.

The xmlfile is the replica schema document of one replica.  The targetWorkspaceName is the workspace name of the relative replica.

See Also

ISchemaChangesInit Interface

.NET Related Topics

Getting a list of schema differences between replicas |