ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.KnowledgeGraph Namespace / KnowledgeGraphInvestigation Class / DeleteFilteredFindPathsConfiguration Method
The name of the filtered find paths configuration to delete from the investigation. This corresponds to ArcGIS.Core.CIM.CIMFilteredFindPathsConfiguration.Name.
Example

In This Topic
    DeleteFilteredFindPathsConfiguration Method
    In This Topic
    Deletes the ArcGIS.Core.CIM.CIMFilteredFindPathsConfiguration with the specified name from this investigation. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub DeleteFilteredFindPathsConfiguration( _
       ByVal filteredFindPathsConfigurationName As String _
    ) 
    public void DeleteFilteredFindPathsConfiguration( 
       string filteredFindPathsConfigurationName
    )

    Parameters

    filteredFindPathsConfigurationName
    The name of the filtered find paths configuration to delete from the investigation. This corresponds to ArcGIS.Core.CIM.CIMFilteredFindPathsConfiguration.Name.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    The filteredFindPathsConfigurationName is null or empty.
    The filteredFindPathsConfigurationName does not exist in the investigation.
    Example
    Delete a Filtered Find Paths Configuration
    {
      // access the currently active knowledge graph investigation view
      KnowledgeGraphInvestigationView activeView = KnowledgeGraphInvestigationView.Active;
      KnowledgeGraphInvestigation investigation = activeView?.Investigation;
      if (investigation != null)
      {
        await QueuedTask.Run(() =>
        {
          // delete the FFPConfig
          investigation.DeleteFilteredFindPathsConfiguration("FFPConfig1");
        });
      }
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also