title: Can we run index rebuild or reorganize commands from C# winform?
body: <p>I want to know is it possible to run MS SQL Server index rebuild or reorganize operations from c# winform? </p>
  
  <p>I have a script using rebuild and reorganize. Now I want to run the whole script on the server database with a button click. Is it possible? Or administrative commands can be run only from SSMS? </p>