Linked Servers

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
peterviau
Posts: 3
Joined: Thu 18 Nov 2004 18:44

Linked Servers

Post by peterviau » Thu 10 Jan 2008 16:36

Which componant can I use to get a list of Linked Servers?

I know you can get lists of databases,tables, fields in tables on a MSSQL server using various componants, but how do you get a list of Linked Servers using SQL SDAC?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 11 Jan 2008 11:39

You can do this with the TMSMetaData component. You should set its ObjectType property to otLinkedServers.

Post Reply