Share via


RestoreSettings Class

Definition

Represents the settings for a key/value store RestoreAsync(String, RestoreSettings, CancellationToken) operation.

public sealed class RestoreSettings
type RestoreSettings = class
Public NotInheritable Class RestoreSettings
Inheritance
RestoreSettings

Constructors

RestoreSettings()

Initializes a new instance of the RestoreSettings class.

RestoreSettings(Boolean)

Initializes a new instance of the RestoreSettings class.

RestoreSettings(Boolean, Boolean)

Initializes a new instance of the RestoreSettings class.

Properties

EnableLsnCheck

Indicates if the KeyValueStoreReplica should check that
restore data is not older than data currently present in the service. This protects against accidental data loss. If false is specified, KeyValueStoreReplica will overwrite current service data with restore data even if data present in service in newer.

InlineReopen

Indicates if the KeyValueStoreReplica should re-open itself after it has restored successfully from the supplied backup. If false is specified, the replica reports transient fault after successful restore.

Applies to