Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically determine Server and database
Message
From
07/09/2006 13:57:53
 
 
To
07/09/2006 12:20:42
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01151434
Message ID:
01152003
Views:
51
>Hi Fabio,
>
>I'm afraid that you've lost me here.
>

>Is it that SQLEXPRESS is a service running on the server SAMAAN5?

Of course, the service name is SAMAAN5\SQLEXPRESS

>
>Are you saying that I can use ListAvailableSQLServices instead of ListAvailableSQLServers in my code to get the services? I tried that but there is no such property of the SQLDMO object that I can see.
>
>Thanks for your help.
>

I said that SQLDMO.ListAvailableSQLServers mean ListAvailableSQLServices.

NetServerEnum don't return services.

>>
>>NetServerEnum return Server list where a specified service run
>>
>>SAMAAN5\SQLEXPRESS is a MSSQL service running in SAMAAN5.
>>
>>With other words, the list contain unique names.
>>
>>the SQLDMO's property "ListAvailableSQLServers"
>>is "ListAvailableSQLServices"
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform