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
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.10 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.10 - 200.8 | 
| Xamarin.Android | 100.10 - 100.15 | 
| Xamarin.iOS | 100.10 - 100.15 | 
| UWP | 100.10 - 200.8 |