Aspose.Tasks for C++
Aspose::Tasks::Connectivity::DbSettings Class Referenceabstract

Allows to specify settings to read from project database. More...

#include <DbSettings.h>

Inherits System::Object.

Inherited by Aspose::Tasks::Connectivity::MpdSettings, Aspose::Tasks::Connectivity::MspDbSettings, and Aspose::Tasks::Connectivity::PrimaveraDbSettings.

Public Member Functions

System::String get_ConnectionString () const
 Gets the connection string. More...
 
void set_ConnectionString (const System::String &value)
 Sets the connection string. More...
 
System::String get_ProviderInvariantName () const
 Gets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class. More...
 
void set_ProviderInvariantName (const System::String &value)
 Sets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class. More...
 

Detailed Description

Allows to specify settings to read from project database.

Member Function Documentation

◆ get_ConnectionString()

System::String Aspose::Tasks::Connectivity::DbSettings::get_ConnectionString ( ) const

Gets the connection string.

◆ get_ProviderInvariantName()

System::String Aspose::Tasks::Connectivity::DbSettings::get_ProviderInvariantName ( ) const

Gets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class.

Default value is System::Data::SqlClient.

◆ set_ConnectionString()

void Aspose::Tasks::Connectivity::DbSettings::set_ConnectionString ( const System::String &  value)

Sets the connection string.

◆ set_ProviderInvariantName()

void Aspose::Tasks::Connectivity::DbSettings::set_ProviderInvariantName ( const System::String &  value)

Sets provider invariant name which is used to get an instance of the System::Data::Common::DbProviderFactory class.

Default value is System::Data::SqlClient.