Working with Options and PowerShell
dbaduck
Posts: 2 Bronze 1
When I use the Options.Default things work OK, but I want to add an option IgnoreConstraintNames, but in PowerShell you can specify one or the other, but I need to know how you would do this when executing the CompareWith and want to combine multiple options.
You cannot do [RedGate.SqlCompare.Engine.Options]::Default + [RedGate.SqlCompare.Engine.Options]::IgnoreConstraintNames
because it gives you an error that there is no op_Add for this type of object.
Thanks.
You cannot do [RedGate.SqlCompare.Engine.Options]::Default + [RedGate.SqlCompare.Engine.Options]::IgnoreConstraintNames
because it gives you an error that there is no op_Add for this type of object.
Thanks.
Comments