Skip to content

What is the expected way to check if CDC is enabled? #9581

Answered by niphlod
ReeceGoding asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ReeceGoding
Comment options

Answer selected by ReeceGoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants