ArcFM Engine Developer Guide
SetVersionFromBase Method


IWorkspace
String
String
esriVersionAccess
Boolean
Changes the workspace from the current version to version identified by Name. If version Name does not exist and Create is true, create a new version with the base version as parent.
Syntax
'Declaration
 
Function SetVersionFromBase( _
   ByVal Workspace As ESRI.ArcGIS.Geodatabase.IWorkspace, _
   ByVal Name As String, _
   ByVal Description As String, _
   ByVal VersionAccess As ESRI.ArcGIS.Geodatabase.esriVersionAccess, _
   ByVal Create As Boolean _
) As ESRI.ArcGIS.Geodatabase.IVersion
'Usage
 
Dim instance As IMMVersioningUtils
Dim Workspace As ESRI.ArcGIS.Geodatabase.IWorkspace
Dim Name As String
Dim Description As String
Dim VersionAccess As ESRI.ArcGIS.Geodatabase.esriVersionAccess
Dim Create As Boolean
Dim value As ESRI.ArcGIS.Geodatabase.IVersion
 
value = instance.SetVersionFromBase(Workspace, Name, Description, VersionAccess, Create)
ESRI.ArcGIS.Geodatabase.IVersion SetVersionFromBase( 
   ESRI.ArcGIS.Geodatabase.IWorkspace Workspace,
   string Name,
   string Description,
   ESRI.ArcGIS.Geodatabase.esriVersionAccess VersionAccess,
   bool Create
)

Parameters

Workspace
IWorkspace
Name
String
Description
String
VersionAccess
esriVersionAccess
Create
Boolean

Return Value

IVersion
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMVersioningUtils Interface
IMMVersioningUtils Members

 

 


Send Comment