[fdo-internals] Empty connection string

Mateusz Loskot mateusz at loskot.net
Fri Feb 9 07:15:57 EST 2007


Hi,

How should a provider handle empty connection string?
Is there any common strategy?

If a user calls FdoIConnection::SetConnectionString(L"") for my
provider, I throw exception with "Connection string is empty." message.

Is this a good idea or better I should handle it on Open() call?

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the fdo-internals mailing list