You are here: SQLDMO - Getting 'Local' Server name « MsSQL Server « IT news, forums, messages
SQLDMO - Getting 'Local' Server name

Posted by Alex on 06/20/06 14:30

Hi,

I am new to the mysteries of SQLDMO.

I have written a program whereby the user can select which SQL server
to connect to on the Network and this works fine.
I am using the SQLDMO.Application.ListAvailableSQLServers routine and
this works fine.

However, the Server on the users machine appears as 'Local'

I need to display the server name as the actual server name instead of
'Local'

Any ideas how to do this with SQLDMO.

I know I could delve into the registry and get the name from there, but
I want to avoid this.

Cheers

Alex

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация