CreateAvailabilityGroupTask Class
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.
Task to create an Availability Group
public class CreateAvailabilityGroupTask : Microsoft.SqlServer.Management.HadrModel.HadrTask, Microsoft.SqlServer.Management.HadrModel.IScriptableTask
type CreateAvailabilityGroupTask = class
inherit HadrTask
interface IScriptableTask
Public Class CreateAvailabilityGroupTask
Inherits HadrTask
Implements IScriptableTask
- Inheritance
- Implements
Is |
IsCancelled for derived class to check for long running tasks and termnate early (Inherited from HadrTask) |
Name |
Task name (Inherited from HadrTask) |
Scripting |
Connections to use for scripting |
Perform(IExecution |
Execute task steps. If a delegate is passed, then the delegate is executed with a policy. Otherwise, the derived class logic is executed (Inherited from HadrTask) |
Perform(IExecution |
Creates an availability group |
Rollback(IExecution |
Rollback task completed steps. If a delegate is passed, then the delegate is executed with a policy. Otherwise, the derived class logic is executed (Inherited from HadrTask) |
Rollback(IExecution |
Rollback is not supported for this task |
Task |
Tasks status event handler (Inherited from HadrTask) |
Task |
For isCancelled Check (Inherited from HadrTask) |
Update |
Send tasks execution update event (Inherited from HadrTask) |
Task |
Task progress event handler (Inherited from HadrTask) |
Produkt | Verzie |
---|---|
Microsoft.SqlServer.SqlManagementObjects | 160.2004021.0 |