What is the expected way to check if CDC is enabled? #9581
-
I recently used |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Get-DbaDatabase returns what SMO returns. Are you looking for something that mirrors what is_cdc_enabled in sys.databases shows ? |
Beta Was this translation helpful? Give feedback.
Get-DbaDatabase returns what SMO returns. Are you looking for something that mirrors what is_cdc_enabled in sys.databases shows ?
a quick and dirty look in the SMO repository turns out empty https://github.com/search?q=repo%3Amicrosoft%2Fsqlmanagementobjects%20is_cdc_enabled&type=code so ... it may be a good feature request