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

URL Property (KnowledgeGraphConnectionProperties)
The service URL.
Syntax
public Uri URL {get;}
Example
Get service Uri from KG datastore
QueuedTask.Run(() =>
{
  var connector = kg.GetConnector() as KnowledgeGraphConnectionProperties;
  var uri = connector.URL;
  var serviceUri = uri.AbsoluteUri;
});
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.2 or higher.
See Also