AddReplicaDatabaseExistenceValidator 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.
Validates that databases existing in an AvailabilityGroup when adding a replica to an AvailabiltyGroup do not exist on the secondary replica
public class AddReplicaDatabaseExistenceValidator : Microsoft.SqlServer.Management.HadrModel.DatabaseExistenceValidator
type AddReplicaDatabaseExistenceValidator = class
inherit DatabaseExistenceValidator
Public Class AddReplicaDatabaseExistenceValidator
Inherits DatabaseExistenceValidator
- Inheritance
Availability |
The availability group data. (Inherited from DatabaseExistenceValidator) |
Databases |
List of databases to validate (Inherited from DatabaseExistenceValidator) |
Name |
validator name (Inherited from Validator) |
Update |
Send validation progress event (Inherited from Validator) |
Validate(IExecution |
If the optional delegate is passed, then it is called with the execution policy. Otheriwse, the following logic is executed While the policy has not expired, the derived validator will keep doing it validation with a back off interval between every validation The policy will expire due to following reason 1.the policy reaches its max times of trying 2.the validator set the policy to be expired due to some fatal exception 3.the validator set the policy to be exproed due to successful validation (Inherited from Validator) |
Validate(IExecution |
Validates if a selecteddatabase already exists on the secondary replica. (Inherited from DatabaseExistenceValidator) |
Validator |
Validator progress event handler (Inherited from Validator) |
Tuote | Versiot |
---|---|
Microsoft.SqlServer.SqlManagementObjects | 160.2004021.0 |