L
LIN
is there an .NET equivalent of SQLDMO ?
ideas please.
thanks!
LIN
ideas please.
thanks!
LIN
LIN said:i tried it out. its giving all the classes
but when I am using the ListAvailableSQLServers() the result should be in
NameList
I am not able to use the NameList, Bcoz .Net Wrapper Class tells that it is
an Interface.
Need Advice
LIN
LIN said:hi oj,
i'm using .NET v1.0, i have had problems.
I get an error stating: "QueryInterface for interface SQLDMO.NameList
failed."
on this partilcular line:
Dim sqlApp As New SQLDMO.Application()
Dim NL As SQLDMO.NameList, index As Long
NL = sqlApp.ListAvailableSQLServers '<<this line>>
For index = 1 To NL.Count
Console.WriteLine(NL.Item(index))
Next
Please advice.
cheers,
LIN
oj said:Here is a quick demo...
--
-oj
Rac v2.2 & QALite!
http://www.rac4sql.net
itLIN said:i tried it out. its giving all the classes
but when I am using the ListAvailableSQLServers() the result should be in
NameList
I am not able to use the NameList, Bcoz .Net Wrapper Class tells that
is