Red Gate forums :: View topic - display automatically sqlserver instance ???
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Packager 6
SQL Packager 6 forum

display automatically sqlserver instance ???

Search in SQL Packager 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
senior_oracle



Joined: 05 Jan 2010
Posts: 3

PostPosted: Tue Jan 05, 2010 3:49 pm    Post subject: display automatically sqlserver instance ??? Reply with quote

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
View user's profile Send private message MSN Messenger
Chris Auckland



Joined: 24 Oct 2006
Posts: 757
Location: Red Gate Software Ltd.

PostPosted: Wed Jan 06, 2010 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic 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