Public Member Functions | Protected Attributes | List of all members
AppSecInc::Databases::Access::AccessConnectionInfo Class Reference

An authenticated Microsoft SQL Server connection info. More...

#include <AccessConnectionInfo.h>

Inheritance diagram for AppSecInc::Databases::Access::AccessConnectionInfo:
AppSecInc::Databases::ODBC::ODBCConnectionInfo

Public Member Functions

const std::wstring & GetUsername () const
 get username More...
 
void SetUsername (const std::wstring &username)
 set username More...
 
const std::wstring & GetPassword () const
 get password More...
 
void SetPassword (const std::wstring &password)
 set password More...
 
const std::wstring & GetDBQ () const
 get database (.mdf file) name More...
 
void SetDBQ (const std::wstring &dbq)
 set database (.mdf file) name More...
 
 AccessConnectionInfo (const AccessConnectionInfo &)
 constructors/destructors More...
 
 AccessConnectionInfo (const std::wstring &dbq=L"")
 
 ~AccessConnectionInfo ()
 
void operator= (const AccessConnectionInfo &)
 
std::wstring GetConnectionString () const
 get the connection string More...
 
- Public Member Functions inherited from AppSecInc::Databases::ODBC::ODBCConnectionInfo
 ODBCConnectionInfo ()
 
virtual ~ODBCConnectionInfo ()
 

Protected Attributes

std::wstring _dbq
 the database ip address More...
 
std::wstring _username
 username More...
 
std::wstring _password
 password More...
 

Detailed Description

An authenticated Microsoft SQL Server connection info.

Constructor & Destructor Documentation

AccessConnectionInfo::AccessConnectionInfo ( const AccessConnectionInfo info)

constructors/destructors

AccessConnectionInfo::AccessConnectionInfo ( const std::wstring &  dbq = L"")
AccessConnectionInfo::~AccessConnectionInfo ( )

Member Function Documentation

std::wstring AccessConnectionInfo::GetConnectionString ( ) const
virtual

get the connection string

Implements AppSecInc::Databases::ODBC::ODBCConnectionInfo.

const std::wstring& AppSecInc::Databases::Access::AccessConnectionInfo::GetDBQ ( ) const
inline

get database (.mdf file) name

const std::wstring& AppSecInc::Databases::Access::AccessConnectionInfo::GetPassword ( ) const
inline

get password

const std::wstring& AppSecInc::Databases::Access::AccessConnectionInfo::GetUsername ( ) const
inline

get username

void AccessConnectionInfo::operator= ( const AccessConnectionInfo info)
void AppSecInc::Databases::Access::AccessConnectionInfo::SetDBQ ( const std::wstring &  dbq)
inline

set database (.mdf file) name

void AppSecInc::Databases::Access::AccessConnectionInfo::SetPassword ( const std::wstring &  password)
inline

set password

void AppSecInc::Databases::Access::AccessConnectionInfo::SetUsername ( const std::wstring &  username)
inline

set username

Member Data Documentation

std::wstring AppSecInc::Databases::Access::AccessConnectionInfo::_dbq
protected

the database ip address

std::wstring AppSecInc::Databases::Access::AccessConnectionInfo::_password
protected

password

std::wstring AppSecInc::Databases::Access::AccessConnectionInfo::_username
protected

username


The documentation for this class was generated from the following files:


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com