Server Name

Forum for users of SQL Packager database archive utility

Server Name

Postby senior_oracle » Tue Jan 05, 2010 2:44 pm

How can I change the server name from local to .\\SQLEXPRESS using c# code .

Urgent please!!! :?
Posts: 3
Joined: Tue Jan 05, 2010 2:34 pm

Postby Chris Auckland » Wed Jan 06, 2010 8: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.


private string m_ServerName = @".\\SQLExpress"

I hope this helps.
Chris Auckland
Posts: 760
Joined: Tue Oct 24, 2006 1:12 pm
Location: Red Gate Software Ltd.

Return to SQL Packager Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests