ArcFM Solution Developer Guide
Execute Method (IMMRelationshipAUStrategy)


IRelationship
mmAutoUpdaterMode
mmEditEvent
Use this method to code your relationship AU task. This can contain code to perform any task that you want to assign to a relationship event.
Syntax
'Declaration
 
Sub Execute( _
   ByVal pRelationship As ESRI.ArcGIS.Geodatabase.IRelationship, _
   ByVal eAUMode As mmAutoUpdaterMode, _
   ByVal eEvent As mmEditEvent _
) 
'Usage
 
Dim instance As IMMRelationshipAUStrategy
Dim pRelationship As ESRI.ArcGIS.Geodatabase.IRelationship
Dim eAUMode As mmAutoUpdaterMode
Dim eEvent As mmEditEvent
 
instance.Execute(pRelationship, eAUMode, eEvent)
void Execute( 
   ESRI.ArcGIS.Geodatabase.IRelationship pRelationship,
   mmAutoUpdaterMode eAUMode,
   mmEditEvent eEvent
)

Parameters

pRelationship
IRelationship
eAUMode
mmAutoUpdaterMode
eEvent
mmEditEvent

Return Value

Boolean
Example
The following code sample demonstrates how the IMMRelationshipAUStrategy::Execute method may be implemented.
Visual Basic Copy Code
Private Sub IMMRelationshipAUStrategy_Execute (ByVal pRelationship As IRelationship, ByVal eAUMode As mmAutoUpdaterMode, ByVal eEvent As mmEditEvent)
    If pRelationship Is Nothing Then Exit Sub
    If eAUMode = mmAUMNoEvents Or eAUMode = mmAUMNotSet Then Exit Sub

    Dim pDS As IDataset
    Set pDS = pRelationship

    MsgBox "Relationship AU strategy operating on " _
    & pDS.Name & " relationship class",, "Sample Relationship AU"
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

IMMRelationshipAUStrategy Interface
IMMRelationshipAUStrategy Members

 

 


Send Comment