Is there a way to use an enumeration from a C# set of code for instance this enumeration So that I can use this enumeration as an input to a script to create a sql job:
Produces the following names:
TransactSql
ActiveScripting
CmdExec
Snapshot
LogReader
Distribution
Merge
QueueReader
AnalysisQuery
AnalysisCommand
Ssis
PowerShell
How can I use this in a param block so the valid values are from the enumeration?
I know with parameter set I can do ValidateSet but I want it to be dynamic.