Public Member Functions | Protected Attributes

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

List of all members.

Public Member Functions

const std::wstring & GetUsername () const
 get username
void SetUsername (const std::wstring &username)
 set username
const std::wstring & GetPassword () const
 get password
void SetPassword (const std::wstring &password)
 set password
const std::wstring & GetDBQ () const
 get database (.mdf file) name
void SetDBQ (const std::wstring &dbq)
 set database (.mdf file) name
 AccessConnectionInfo (const AccessConnectionInfo &)
 constructors/destructors
 AccessConnectionInfo (const std::wstring &dbq=L"")
 ~AccessConnectionInfo ()
void operator= (const AccessConnectionInfo &)
std::wstring GetConnectionString () const
 get the connection string

Protected Attributes

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

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

the database ip address

password

username


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


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