| title | CDataSource::GetInitializationString | Microsoft Docs | |||||
|---|---|---|---|---|---|---|
| ms.custom | ||||||
| ms.date | 11/04/2016 | |||||
| ms.reviewer | ||||||
| ms.suite | ||||||
| ms.technology |
|
|||||
| ms.tgt_pltfrm | ||||||
| ms.topic | reference | |||||
| f1_keywords |
|
|||||
| dev_langs |
|
|||||
| helpviewer_keywords |
|
|||||
| ms.assetid | 97134723-6e99-4004-a56d-ec57543dbf3b | |||||
| caps.latest.revision | 8 | |||||
| author | mikeblome | |||||
| ms.author | mblome | |||||
| manager | ghogen | |||||
| ms.workload |
|
Retrieves the initialization string of a data source that is currently open.
HRESULT GetInitializationString(BSTR* pInitializationString,
bool bIncludePassword = false) throw(); pInitializationString
[out] A pointer to the initialization string.
bIncludePassword
[in] true if string includes a password; otherwise false.
A standard HRESULT.
The resulting initialization string can be used to later reopen this data source connection.
Header: atldbcli.h