| Author |
Message |
senior_oracle
Joined: 05 Jan 2010 Posts: 3
|
Posted: Tue Jan 05, 2010 3:49 pm Post subject: display automatically sqlserver instance ??? |
|
|
how can we display automatically the .\SQLEXPRESS instance once SQL Pachager is loaded , so that the user will press only on ok and the packager will install the database , and is there a way so that the sql pachager will go quiet when performing the job ?
would appreciate any help
thank you in advance ! |
|
| Back to top |
|
 |
Chris Auckland
Joined: 24 Oct 2006 Posts: 710 Location: Red Gate Software Ltd.
|
Posted: Wed Jan 06, 2010 9:41 pm Post subject: |
|
|
Thanks for your post.
If you save the package as a C# project, you can set the server text in the PackageExecutor class.
e.g.
private string m_ServerName = @".\SQLExpress"
Also, you can run the package without the interface if you use the /quiet switch from the command line. e.g.
/quiet
Indicates the package will run without any user interface
I hope this helps. _________________ Chris |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group