ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.KnowledgeGraph Namespace / KnowledgeGraphInvestigationFactory Class / CreateInvestigation Method / CreateInvestigation(CIMWorkspaceConnection,String) Method
The knowledge graph connection.
The name of the investigation.

In This Topic
    CreateInvestigation(CIMWorkspaceConnection,String) Method
    In This Topic
    Creates a new KnowledgeGraphInvestigation in the project. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Overloads Function CreateInvestigation( _
       ByVal dataConnection As CIMWorkspaceConnection, _
       ByVal name As String _
    ) As KnowledgeGraphInvestigation

    Parameters

    dataConnection
    The knowledge graph connection.
    name
    The name of the investigation.

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    The knowledge graph connection or name is null.
    Remarks
    To open an investigation, use ProApp.Panes.CreateInvestigationPane method.

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also