Class PrimaveraDbSettings
Class PrimaveraDbSettings
Namespace: Aspose.Tasks.Connectivity
Assembly: Aspose.Tasks.dll (25.2.0)
Allows to set necessary options to read project data from Primavera database.
public class PrimaveraDbSettings : DbSettings
Inheritance
object ← DbSettings ← PrimaveraDbSettings
Inherited Members
DbSettings.ConnectionString, DbSettings.ProviderInvariantName, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
PrimaveraDbSettings(string, int)
Initializes a new instance of the Aspose.Tasks.Connectivity.PrimaveraDbSettings class.
public PrimaveraDbSettings(string connectionString, int projectId)
Parameters
connectionString
string
the specified connection string.
projectId
int
the specified id of a project to read.
Properties
ProjectId
Gets id of the project to read.
public int ProjectId { get; }