Miner.Interop.Framework Assembly > Miner.Interop Namespace > IMMVersioningUtils Interface : FindVersion Method |
Using esriGeodatabase.IWorkspace and a string sName input parameters, this method gets an esriGeodatabase.IVersion object with the same name as the sName parameter.
This method does not require the name to be prefixed with the version owner’s name, for example, miner.testversion is acceptable, as is just testversion. If the version owner is missing from the input, all public versions and any associated with the current user are searched for a match with sName. Returns null if the version is not found.
'Declaration Function FindVersion( _ ByVal Workspace As ESRI.ArcGIS.Geodatabase.IWorkspace, _ ByVal Name As String _ ) As ESRI.ArcGIS.Geodatabase.IVersion
'Usage Dim instance As IMMVersioningUtils Dim Workspace As ESRI.ArcGIS.Geodatabase.IWorkspace Dim Name As String Dim value As ESRI.ArcGIS.Geodatabase.IVersion value = instance.FindVersion(Workspace, Name)
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.