MpdSettings Class |
Namespace: Aspose.Tasks.Connectivity
The MpdSettings type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | MpdSettings |
Initializes a new instance of the MpdSettings class.
|
Name | Description | |
---|---|---|
![]() ![]() | ConnectionString |
Gets or sets the connection string.
(Inherited from DbSettings.) |
![]() ![]() | ProjectId |
Gets id of the project to read.
|
![]() ![]() | ProviderInvariantName |
Gets or sets provider invariant name which is used to get an instance of the DbProviderFactory class.
(Inherited from DbSettings.)![]() Default value is System.Data.SqlClient. |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
var settings = new MpdSettings("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + DataDir + "MpdFileToRead.mpd", 1); Console.WriteLine("Project ID to load: " + settings.ProjectId); var project = new Project(settings); Console.WriteLine(project.Get(Prj.Name));