Miner.Interop.Framework Assembly > Miner.Interop Namespace > IMMVersioningUtils Interface : PostVersion Method |
IPropertySet that contains two types of properties:
Posts the version SourceVer to ancestor TargetVer. If AllowConflicts is false, check for conflict differences between the versions and stop the post if any are found.
If DeleteNonPostable is true or PostProperties is defined, then make a copy of the source version to be compressed. Delete all objects from non-postable object classes. For the objects that remain, delete any that do not meet the requirements of the post properties and post the temporary version.
You may use the PostProperties property set to pass in a field name or field model name and a pipe deliminated string of values. A feature that has the specified field or field model name will be posted only if the field contains any of the given values in the string. All other features that do NOT contain the specified field will be posted.
'Declaration Function PostVersion( _ ByVal Workspace As ESRI.ArcGIS.Geodatabase.IWorkspace, _ ByVal SourceVer As String, _ ByVal TargetVer As String, _ ByVal DeleteNonPostable As Boolean, _ ByVal AllowConflicts As Boolean, _ Optional ByVal PostProperties As ESRI.ArcGIS.esriSystem.IPropertySet _ ) As Integer
'Usage Dim instance As IMMVersioningUtils Dim Workspace As ESRI.ArcGIS.Geodatabase.IWorkspace Dim SourceVer As String Dim TargetVer As String Dim DeleteNonPostable As Boolean Dim AllowConflicts As Boolean Dim PostProperties As ESRI.ArcGIS.esriSystem.IPropertySet Dim value As Integer value = instance.PostVersion(Workspace, SourceVer, TargetVer, DeleteNonPostable, AllowConflicts, PostProperties)
int PostVersion( ESRI.ArcGIS.Geodatabase.IWorkspace Workspace, string SourceVer, string TargetVer, bool DeleteNonPostable, bool AllowConflicts, ESRI.ArcGIS.esriSystem.IPropertySet PostProperties )
IPropertySet that contains two types of properties:
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.