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


IVersionDataChangesInit.Init Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabaseDistributed)  

IVersionDataChangesInit.Init Method

Initializes the class by setting the versioned workspace and one of its ancestor versioned workspace.

[Visual Basic .NET]
Public Sub Init ( _
    ByVal SourceVersionedWorkspace As IWorkspaceName, _
    ByVal TargetVersionedWorkspace As IWorkspaceName _
)
[C#]
public void Init (
    IWorkspaceName SourceVersionedWorkspace,
    IWorkspaceName TargetVersionedWorkspace
);
[C++]
HRESULT Init(
  IWorkspaceName* SourceVersionedWorkspace,
  IWorkspaceName* TargetVersionedWorkspace
);
[C++]

Parameters SourceVersionedWorkspace [in]
SourceVersionedWorkspace is a parameter of type IWorkspaceName* TargetVersionedWorkspace [in]
TargetVersionedWorkspace is a parameter of type IWorkspaceName*

Product Availability

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

Remarks

This interface Init method is used to initialize a VersionDataChanges coclass. This coclass can be used to get the edits between a source version and a target version.

The SourceVersionedWorkspace parameter is the WorkspaceName object that references the source version. The TargetVersionedWorkspace parameter is the WorkspaceName object that references the target version.

See Also

IVersionDataChangesInit Interface | DataChangesExporter Class | DataChanges Class | IExportDataChanges Interface