Figure 4. Run the udf_clr_GetSqlVersion UDF
When you run the udf_clr_GetSqlVersion UDF, you get a return code that's stored off in a local variable, then printed to the results window.