SMO ServerConnection common dialog?

Is there a common dialog I can use to prompt a user for connection information to be used to create an SMO ServerConnection object.

Thanks,

[142 byte] By [Grant_csi] at [2008-2-20]
# 1

SMO does not provide dialogs.

Peter

PeterSaddowMSFT at 2007-10-7 > top of Msdn Tech,SQL Server,SQL Server SMO/DMO...
# 2

Take a look at the SMO samples that ship with SQL Server 2005. It contains a good example of a common dialog. The same dialog is used in all samples.

See this post for a location of the samples:

http://blogs.msdn.com/mwories/articles/smofaq.aspx

MichielWories at 2007-10-7 > top of Msdn Tech,SQL Server,SQL Server SMO/DMO...

SQL Server

Site Classified