Show / Hide Table of Contents

Property SessionType

SessionType

Gets or sets the type of read and edit sessions to use when working with the service.

Declaration
public FeatureServiceSessionType SessionType { get; set; }
Property Value
Type Description
FeatureServiceSessionType

The type of read and edit sessions to use when working with the service.

Remarks

The default value is Transient.

If the feature service this ServiceGeodatabase references is not branch-versioned, only Transient is supported.

If using Persistent, it is important to call CloseAsync() before destruction.

Cannot be set after the ServiceGeodatabase is loaded. When the ServiceGeodatabase is created by loading a Map, use LoadSettings to control the session type.

See Also
FeatureServiceSessionType

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.10 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.10 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.10 - 100.12
Xamarin.Android100.10 - 100.14
Xamarin.iOS100.10 - 100.14
UWP100.10 - 100.14
In This Article
Back to top Copyright © 2021 Esri.