void CODataSource::SetPWD(LPCOLESTR strPWD);

Parameter

        [in] strPWD:   

            Indicates a user's password.

Remarks

        Calls this function to set a user's password before opening and initializing a connection to an OLEDB provider.

CODataSource Class Overview & Class Members