Solid Edge Revision Manager Object Library
EnableDeveloperLog Method
Specifies whether the developer log is written.
Description
This method specifies whether a developer log of Insight events is written to the local machine.
Syntax
Visual Basic
Public Function EnableDeveloperLog( _
   ByVal bCreateFlag As Variant _
) As Long
Parameters
bCreateFlag
Specifies whether the developer log is written.
Example
Imports RevisionManager
Imports System.Runtime.InteropServices

Module Example

    Sub Main()
        Dim objApplication As RevisionManager.Application = Nothing
        Dim objInsight As RevisionManager.Insight = Nothing

        Try
            ' Start Revision Manager.
            objApplication = New RevisionManager.Application

            ' Get reference to Insight object.
            objInsight = objApplication.Insight

            objInsight.EnableDeveloperLog(True)
        Catch ex As Exception
            ' Write any errors to console.
            Console.WriteLine(ex.Message)
        Finally
            ' Release COM Objects.
            If Not (objInsight Is Nothing) Then
                Marshal.ReleaseComObject(objInsight)
                objInsight = Nothing
            End If

            If Not (objApplication Is Nothing) Then
                objApplication.Quit()
                Marshal.ReleaseComObject(objApplication)
                objApplication = Nothing
            End If
        End Try
    End Sub

End Module
See Also

Insight Object  | Insight Members

Send comments on this topic.