Condividi tramite


DataOperationStateProvider Class

Definition

Implement this interface to manage extracting the database user data tables to the Azure storage account, and publishing from Azure storage the tables data to the target database.

public abstract class DataOperationStateProvider
type DataOperationStateProvider = class
Public MustInherit Class DataOperationStateProvider
Inheritance
DataOperationStateProvider
Derived

Constructors

DataOperationStateProvider()

Properties

DataOperationIsResuming

Return true if the data operation is resuming.

OperationId

Gets the data operation unique identifier. Operations that need to create one or more temporary database object can use this unique string in their object names. This property cannot be empty or null, must be 6 chars and must remain constant throughout the data operation lifetime (and resume attempts).

StorageType

Gets the data storage location that the state provider is using to store the database tables content.

Methods

CleanupDataStorageAsync(String, String)

Removes the data for this table in the storage.

MarkStepCompleteAsync(String, String)

Mark the step state as complete.

MarkStepNotStartedAsync(String, String)

Mark the step state as not started, if a step state does not exist yet, add it with value not started.

MarkStepStartedAsync(String, String)

Mark the step state as started.

TryGetStepStateAsync(String, String)

Try get the step state.

Applies to