ArcFM Solution Developer Guide
ChangeDefaultVersion Method (IMMChangeDefaultVersion)


An IVersion object
This method accesses the connection information on MMDefaultLoginObject.
Syntax
'Declaration
 
Sub ChangeDefaultVersion( _
   ByVal pVersion As ESRI.ArcGIS.Geodatabase.IVersion _
) 
'Usage
 
Dim instance As IMMChangeDefaultVersion
Dim pVersion As ESRI.ArcGIS.Geodatabase.IVersion
 
instance.ChangeDefaultVersion(pVersion)
void ChangeDefaultVersion( 
   ESRI.ArcGIS.Geodatabase.IVersion pVersion
)

Parameters

pVersion
An IVersion object
Example
The following code sample demonstrates how the IMMChangeDefaultVersion::ChangeDefaultVersion method may be implemented.
Visual Basic Copy Code
Private Sub IMMChangeDefaultVersion_ChangeDefaultVersion(ByVal pVersion As IVersion)

  Dim pMMChangeDefVersion As IMMChangeDefaultVersion
  Set pMMChangeDefVersion = m_pDefaultLogin
  pMMChangeDefVersion.ChangeDefaultVersion pVersion

End Sub
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

IMMChangeDefaultVersion Interface
IMMChangeDefaultVersion Members

 

 


Send Comment