Commit 791177c
Remove-DbaReplPublication - Add replication library loading to fix Publication type error
Add Add-ReplicationLibrary call to the begin block to ensure Microsoft.SqlServer.Rmo.dll is loaded before the Publication type constraint is parsed. This follows the same pattern used by Remove-DbaReplArticle and other replication commands.
Co-authored-by: Chrissy LeMaire <potatoqualitee@users.noreply.github.com>1 parent 9e87304 commit 791177c
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments