From f135329d9af3ab9dd6b7601e2c076cbf22bc094f Mon Sep 17 00:00:00 2001 From: Ben Miller Date: Tue, 19 Aug 2025 22:11:30 -0400 Subject: [PATCH] Update AvailabilityDatabaseBase.cs There is a misspelling in the JoinAvailablityGroup. Notice the missing i? JoinAvailabilityGroup is what it should be. This is impacting dbatools module as well as others that use the JoinAvailabilityGroup method on AvailabilityDatabase. --- .../SqlServer/Management/Smo/AvailabilityDatabaseBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft/SqlServer/Management/Smo/AvailabilityDatabaseBase.cs b/src/Microsoft/SqlServer/Management/Smo/AvailabilityDatabaseBase.cs index 12e6381f..102b1dfa 100644 --- a/src/Microsoft/SqlServer/Management/Smo/AvailabilityDatabaseBase.cs +++ b/src/Microsoft/SqlServer/Management/Smo/AvailabilityDatabaseBase.cs @@ -99,7 +99,7 @@ public StringCollection Script(ScriptingOptions scriptingOptions) /// This action assumes the instance is already an availability replica in the group /// and the local copy is a locally restored copy of the database on the primary replica. /// - public void JoinAvailablityGroup() + public void JoinAvailabilityGroup() { this.CheckObjectState(!this.ExecutionManager.Recording); //make sure the object has been retrieved from the backend if we are going to execute the script string availabilityGroupName = this.Parent.Name;