Aspose.Tasks for C++
Aspose::Tasks::Connectivity::PrimaveraDbSettings Class Reference

Allows to set necessary options to read project data from Primavera database. More...

#include <PrimaveraDbSettings.h>

Inherits Aspose::Tasks::Connectivity::DbSettings.

Public Member Functions

int32_t get_ProjectId () const
 Gets id of the project to read. More...
 
 PrimaveraDbSettings (const System::String &connectionString, int32_t projectId)
 Initializes a new instance of the PrimaveraDbSettings class. More...
 
- Public Member Functions inherited from Aspose::Tasks::Connectivity::DbSettings
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 set necessary options to read project data from Primavera database.

Constructor & Destructor Documentation

◆ PrimaveraDbSettings()

Aspose::Tasks::Connectivity::PrimaveraDbSettings::PrimaveraDbSettings ( const System::String &  connectionString,
int32_t  projectId 
)

Initializes a new instance of the PrimaveraDbSettings class.

Parameters
connectionStringthe specified connection string.
projectIdthe specified id of a project to read.

Member Function Documentation

◆ get_ProjectId()

int32_t Aspose::Tasks::Connectivity::PrimaveraDbSettings::get_ProjectId ( ) const

Gets id of the project to read.