Hello Prakash,
Hope this reply finds you well...
Thank you very much for the post, by the way I am getting below error.
Please help me out to correct the same........
Is ther any setting from my SQL Server SMO to be done ?
Msg 102, Level 15, State 1, Line 14
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 37
Incorrect syntax near '?'.
Msg 102, Level 15, State 1, Line 49
Incorrect syntax near '?'.