Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL-DMO doesn't return Server available
Message
De
19/01/2009 16:20:39
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
SQL-DMO doesn't return Server available
Versions des environnements
SQL Server:
SQL Server 2000
Application:
Desktop
Divers
Thread ID:
01375255
Message ID:
01375255
Vues:
83
Hi, I attempt to discover if a SQL Server is available in the network, so I run the code below, but it returns that there is no SQL Server there, but I have a SQl Server in the PC and I can connect to it.
What im missing here?
Thanks in Advance

Peter
LOCAL oSQLDMO AS SQLDMO.SQLserver
LOCAL oNames AS SQLDMO.NameList
oSQLDMO = CREATEOBJECT("SQLDMO.SQLserver")
oNames = oSQLDMO.APPLICATION.ListAvailableSQLServers()
FOR ix=1 TO oNames.COUNT
 ? oNames.ITEM[ix]
ENDFOR
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform