display automatically sqlserver instance ???

Packages and compresses schema and contents of SQL Server databases

Moderators: JonathanWatts, Chris Auckland, David Atkinson, david connell, Anu Deshpande, Michelle Taylor, james.billings, Marianne

display automatically sqlserver instance ???

Postby senior_oracle » Tue Jan 05, 2010 3:49 pm

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 !
senior_oracle
 
Posts: 3
Joined: Tue Jan 05, 2010 3:34 pm

Postby Chris Auckland » Wed Jan 06, 2010 9:41 pm

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
Chris Auckland
 
Posts: 757
Joined: Tue Oct 24, 2006 2:12 pm
Location: Red Gate Software Ltd.


Return to SQL Packager 6

Who is online

Users browsing this forum: No registered users and 0 guests