ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraphConnectionProperties Class
Members Example Version

KnowledgeGraphConnectionProperties Class
Represents the properties used to connect to a knowledge graph datastore.
Syntax
public sealed class KnowledgeGraphConnectionProperties : ArcGIS.Core.Data.Connector 
Example
Get service Uri from KG datastore
QueuedTask.Run(() =>
{
  var connector = kg.GetConnector() as KnowledgeGraphConnectionProperties;
  var uri = connector.URL;
  var serviceUri = uri.AbsoluteUri;
});
Inheritance Hierarchy

System.Object
   ArcGIS.Core.Data.Connector
      ArcGIS.Core.Data.Knowledge.KnowledgeGraphConnectionProperties

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.2 or higher.
See Also