Show / Hide Table of Contents

Property ServerContext

ServerContext

Gets the URL by which the root of a server is accessed.

Declaration
public Uri ServerContext { get; }
Property Value
Type Description
System.Uri

The URL by which the root of a server is accessed.

Remarks

This is the URL against which rest endpoints are resolved. For example, "https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0"; would have a server context of "https://sampleserver3.arcgisonline.com/ArcGIS";, on which we could add "/rest/info" or "/rest" to fetch the server information.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.7
.NET200.7
.NET Windows200.7
.NET Android200.7
.NET iOS200.7
.NET Framework200.7
UWP200.7
In This Article
Back to top Copyright © 2022 Esri.