CDatabase::GetConnect

const CString& GetConnect( ) const;

Return Value

A const reference to a CString containing the connect string if OpenEx or Open has been called; otherwise, an empty string.

Remarks

Call this member function to retrieve the connect string used during the call to OpenEx or Open that connected the CDatabase object to a data source.

See CDatabase::Open for a description of how the connect string is created.

CDatabase OverviewClass MembersHierarchy Chart

See Also   CDatabase::OpenEx, CDatabase::Open