Click here to Skip to main content
15,914,416 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to select the Server Pin
I Believe In GOD4-Nov-07 2:05
I Believe In GOD4-Nov-07 2:05 
GeneralRe: How to select the Server Pin
Assaf824-Nov-07 2:08
Assaf824-Nov-07 2:08 
GeneralRe: How to select the Server Pin
I Believe In GOD4-Nov-07 2:14
I Believe In GOD4-Nov-07 2:14 
GeneralRe: How to select the Server Pin
Jimmanuel4-Nov-07 4:52
Jimmanuel4-Nov-07 4:52 
GeneralRe: How to select the Server Pin
Paul Conrad4-Nov-07 6:10
professionalPaul Conrad4-Nov-07 6:10 
GeneralRe: How to select the Server Pin
Koltz4-Nov-07 6:26
Koltz4-Nov-07 6:26 
GeneralRe: How to select the Server Pin
I Believe In GOD5-Nov-07 4:42
I Believe In GOD5-Nov-07 4:42 
GeneralRe: How to select the Server Pin
Jimmanuel5-Nov-07 4:56
Jimmanuel5-Nov-07 4:56 
you could try SQL DMO instead - it's the predecessor to SMO which has most of the same functionality, in this case:
static public string[] GetSQLServers()
{
	List<string> retval = new List<string>();

	SQLDMO.Application sqlApp = new SQLDMO.ApplicationClass();
	SQLDMO.NameList serverList = (SQLDMO.NameList)sqlApp.ListAvailableSQLServers();
	foreach (string server in serverList)
	{
		retval.Add(server);
	}

	return retval.ToArray();
}



GeneralRe: How to select the Server Pin
Assaf824-Nov-07 2:25
Assaf824-Nov-07 2:25 
AnswerRe: How to select the Server Pin
Ed.Poore4-Nov-07 2:58
Ed.Poore4-Nov-07 2:58 
QuestionCheck which line was clicked? Pin
Gadjuka4-Nov-07 1:03
Gadjuka4-Nov-07 1:03 
AnswerRe: Check which line was clicked? Pin
Colin Angus Mackay4-Nov-07 1:23
Colin Angus Mackay4-Nov-07 1:23 
AnswerRe: Check which line was clicked? Pin
Anthony Mushrow4-Nov-07 1:45
professionalAnthony Mushrow4-Nov-07 1:45 
GeneralRe: Check which line was clicked? Pin
Kristian Sixhøj4-Nov-07 1:49
Kristian Sixhøj4-Nov-07 1:49 
GeneralRe: Check which line was clicked? Pin
Anthony Mushrow4-Nov-07 3:04
professionalAnthony Mushrow4-Nov-07 3:04 
GeneralRe: Check which line was clicked? [modified] Pin
Kristian Sixhøj4-Nov-07 3:07
Kristian Sixhøj4-Nov-07 3:07 
GeneralRe: Check which line was clicked? Pin
Gadjuka4-Nov-07 4:30
Gadjuka4-Nov-07 4:30 
GeneralRe: Check which line was clicked? Pin
Kristian Sixhøj4-Nov-07 4:44
Kristian Sixhøj4-Nov-07 4:44 
GeneralRe: Check which line was clicked? Pin
Daniel Grunwald4-Nov-07 5:03
Daniel Grunwald4-Nov-07 5:03 
AnswerRe: Check which line was clicked? Pin
Tamimi - Code4-Nov-07 1:49
Tamimi - Code4-Nov-07 1:49 
GeneralRe: Check which line was clicked? Pin
Gadjuka4-Nov-07 4:23
Gadjuka4-Nov-07 4:23 
QuestionElement is an invalid XMLNodeType Pin
jon-804-Nov-07 0:39
professionaljon-804-Nov-07 0:39 
AnswerRe: Element is an invalid XMLNodeType Pin
pmarfleet4-Nov-07 1:49
pmarfleet4-Nov-07 1:49 
QuestionHow to Catch the 2 or 3 first char in the begining of the string Pin
Assaf823-Nov-07 23:58
Assaf823-Nov-07 23:58 
AnswerRe: How to Catch the 2 or 3 first char in the begining of the string Pin
rao raja4-Nov-07 0:08
rao raja4-Nov-07 0:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.