Public NotInheritable Class KnowledgeGraphConnectionProperties Inherits ArcGIS.Core.Data.Connector
public sealed class KnowledgeGraphConnectionProperties : ArcGIS.Core.Data.Connector
Public NotInheritable Class KnowledgeGraphConnectionProperties Inherits ArcGIS.Core.Data.Connector
public sealed class KnowledgeGraphConnectionProperties : ArcGIS.Core.Data.Connector
{
await QueuedTask.Run(() =>
{
//Create a connection properties
var kg_props =
new KnowledgeGraphConnectionProperties(new Uri(url));
//Connect to the KnowledgeGraph datastore
//KnowledgeGraph datastores contain tables and feature classes
using (var kg = new KnowledgeGraph(kg_props))
{
var connector = kg.GetConnector() as KnowledgeGraphConnectionProperties;
var uri = connector.PathOrURL;
var serviceUri = uri.AbsoluteUri;
}
});
}
System.Object
ArcGIS.Core.Data.Connector
ArcGIS.Core.Data.Knowledge.KnowledgeGraphConnectionProperties
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)