DistributedAvailabilityGroupSetRole Constructor
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.
Initializes a new instance of DistributedAvailabilityGroupSetRole.
public DistributedAvailabilityGroupSetRole(Azure.ResourceManager.Sql.Models.DistributedAvailabilityGroupManagedInstanceRole instanceRole, Azure.ResourceManager.Sql.Models.DistributedAvailabilityGroupRoleChangeType roleChangeType);
new Azure.ResourceManager.Sql.Models.DistributedAvailabilityGroupSetRole : Azure.ResourceManager.Sql.Models.DistributedAvailabilityGroupManagedInstanceRole * Azure.ResourceManager.Sql.Models.DistributedAvailabilityGroupRoleChangeType -> Azure.ResourceManager.Sql.Models.DistributedAvailabilityGroupSetRole
Public Sub New (instanceRole As DistributedAvailabilityGroupManagedInstanceRole, roleChangeType As DistributedAvailabilityGroupRoleChangeType)
Parameters
- instanceRole
- DistributedAvailabilityGroupManagedInstanceRole
New role of managed instance in a distributed availability group, can be Primary or Secondary.
- roleChangeType
- DistributedAvailabilityGroupRoleChangeType
The type of the role change, can be Planned or Forced.