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

Allows to set necessary options to read project data from MS Project Server database. More...

#include <MspDbSettings.h>

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

Public Member Functions

System::Guid get_ProjectGuid () const
 Gets the guid of the project to read. More...
 
System::String get_Schema () const
 Gets the schema of the MS Project Server. The default value is "pub". More...
 
void set_Schema (const System::String &value)
 Sets the schema of the MS Project Server. The default value is "pub". More...
 
 MspDbSettings (const System::String &connectionString, System::Guid projectGuid)
 Initializes a new instance of the MspDbSettings 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 MS Project Server database.

Constructor & Destructor Documentation

◆ MspDbSettings()

Aspose::Tasks::Connectivity::MspDbSettings::MspDbSettings ( const System::String &  connectionString,
System::Guid  projectGuid 
)

Initializes a new instance of the MspDbSettings class.

Parameters
connectionStringthe specified connection string.
projectGuidthe specified guid of a project to read.

Member Function Documentation

◆ get_ProjectGuid()

System::Guid Aspose::Tasks::Connectivity::MspDbSettings::get_ProjectGuid ( ) const

Gets the guid of the project to read.

◆ get_Schema()

System::String Aspose::Tasks::Connectivity::MspDbSettings::get_Schema ( ) const

Gets the schema of the MS Project Server. The default value is "pub".

◆ set_Schema()

void Aspose::Tasks::Connectivity::MspDbSettings::set_Schema ( const System::String &  value)

Sets the schema of the MS Project Server. The default value is "pub".