samedi 9 mai 2015

SQL Installation command from vb.net code

I am using following command through a batch file to install my required instance of SQL server. Problem is, when it runs, statement is shown on screen and .bat file is open for view. How can I run this statement through my vb.net application?

start /wait SQLEXPR32and64.EXE /qb username="MyName" companyname="COName" addlocal=ALL disablenetworkprotocols="2" instancename="ERPTesting" SECURITYMODE="SQL" SAPWD="abc123"

Thanks

Aucun commentaire:

Enregistrer un commentaire