MpdSettings
MpdSettings constructor
Initializes a new instance of the MpdSettings
class.
public MpdSettings(string connectionString, int projectId)
Parameter | Type | Description |
---|---|---|
connectionString | String | the specified connection string. |
projectId | Int32 | the specified id of a project to read. |
Examples
Shows how to read a project from an MPD file.
DbSettings settings = new MpdSettings("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + DataDir + "MpdFileToRead.mpd", 1);
var project = new Project(settings);
Console.WriteLine(project.Get(Prj.Name));
See Also
- class MpdSettings
- namespace Aspose.Tasks.Connectivity
- assembly Aspose.Tasks