다음을 통해 공유


CDataSource::GetInitializationString

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.

요구 사항

헤더: atldbcli.h

참고 항목

참조

CDataSource 클래스