This document is archived and information here might be outdated. Recommended version. |
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*
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.