This property uses the origin and destination classes to determine whether the autoupdater should be enabled for the relationship selected.
            
            
            
            
            
            
            
            'Declaration
 
<DispIdAttribute(1610678272)>
ReadOnly Property Enabled( _
   ByVal  As ESRI.ArcGIS.Geodatabase.IRelationshipClass, _
   ByVal  As ESRI.ArcGIS.Geodatabase.IObjectClass, _
   ByVal  As ESRI.ArcGIS.Geodatabase.IObjectClass, _
   ByVal  As mmEditEvent _
) As Boolean
             
        
            
            'Usage
 
Dim instance As IMMRelationshipAUStrategyEx
Dim pRelationshipClass As ESRI.ArcGIS.Geodatabase.IRelationshipClass
Dim pOriginClass As ESRI.ArcGIS.Geodatabase.IObjectClass
Dim pDestClass As ESRI.ArcGIS.Geodatabase.IObjectClass
Dim eEvent As mmEditEvent
Dim value As Boolean
 
value = instance.Enabled(pRelationshipClass, pOriginClass, pDestClass, eEvent)
             
        
            
            [DispId(1610678272)]
bool Enabled( 
   ESRI.ArcGIS.Geodatabase.IRelationshipClass ,
   ESRI.ArcGIS.Geodatabase.IObjectClass ,
   ESRI.ArcGIS.Geodatabase.IObjectClass ,
   mmEditEvent 
) {get;}
             
        
             
        
            Parameters
- pRelationshipClass
- IRelationshipClass
- pOriginClass
- An IObjectClass object that returns the origin class of the relationship
- pDestClass
- An IObjectClass object that returns the destination class of the relationship
- eEvent
- A value from the mmEditEvent enumeration that indicates the edit event that launched the autoupdater
Property Value
Returns a Boolean value indicating whether the autoupdater is enabled
 
            
            
            
            
            
    The following code sample demonstrates how the IMMRelationshipAUStrategyEx::Enabled property may be implemented.
    
        
            
                | Visual Basic |  Copy Code | 
            
                | 
                        
                            
                                
                                    | Private Property Get IMMRelationshipAUStrategyEx_Enabled (ByVal pRelationshipClass _As IRelationshipClass, ByVal pOriginClass As IObjectClass, _
 ByVal pDestClass As IObjectClass, ByVal eEvent As mmEditEvent) As Boolean
 If pRelationshipClass Is Nothing Then Exit Property
 Dim pDS As IDataset
 Set pDS = pRelationshipClass
 IMMRelationshipAUStrategyEx_Enabled = (pDS.Name = "Transformer_TransformerUnit")
 End Property
 |  | 
        
    
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.