DataPhaseOperationStateProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public class DataPhaseOperationStateProvider : Microsoft.SqlServer.Dac.DataOperationStateProvider
type DataPhaseOperationStateProvider = class
inherit DataOperationStateProvider
Public Class DataPhaseOperationStateProvider
Inherits DataOperationStateProvider
- Inheritance
Constructors
DataPhaseOperationStateProvider(String, String) |
Create a new instance of DataPhaseOperationStateProvider for a database with a unique operation id. Storage type is set to AzureStorage by default. Data operation is not resuming by default. Tables states are stored in a ConcurrentDictionary. |
Properties
DatabaseName | |
DataOperationIsResuming |
Return true if the data operation is resuming. (Inherited from DataOperationStateProvider) |
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). (Inherited from DataOperationStateProvider) |
StorageType |
Gets the data storage location that the state provider is using to store the database tables content. (Inherited from DataOperationStateProvider) |
Methods
CleanupDataStorageAsync(String, String) |
Remove the data for this table in the storage. |
MarkDataOperationResuming() |
To mark the data operation as resuming. |
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. |