This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IS > ISchemaChangesInit Interface > ISchemaChangesInit.InitFromSchemaDifferencesDocument Method (ArcObjects .NET 10.4 SDK) |
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
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.