The ViaListenInfo property returns the names of recognized vendors when using Virtual Interface Architecture (VIA) protocol.
object.ViaRecognizedVendors
object
Expression that evaluates to an object in the Applies To list
SQL-DMO multistring
Read-only
HRESULT GetViaRecognizedVendors(LPBSTR);
Note SQL-DMO strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference by using SysFreeString.
The recognized vendors for VIA protocol with SQL Server 2000 are Giaganet and ServerNetII. An application can use the value returned by ViaRecognizedVendors to specify the preferred vendor using the ViaVendor property.
VIA is only compatible with the Windows NT® 4.0 and Windows® 2000 operating systems. For more information about VIA, see Communication Components.
For more information about multistrings, see Using SQL-DMO Multistrings.
Note If an application calls ViaRecognizedVendors on an instance of SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000" are returned.