Package com.aspose.tasks
Class MspDbSettings
- java.lang.Object
-
- com.aspose.tasks.DbSettings
-
- com.aspose.tasks.MspDbSettings
-
public class MspDbSettings extends DbSettings
Allows to set necessary options to read project data from MS Project Server database.
-
-
Constructor Summary
Constructors Constructor Description MspDbSettings(String connectionString, UUID projectGuid)
Initializes a new instance of theMspDbSettings
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
getProjectGuid()
Gets the guid of the project to read.String
getSchema()
Gets the schema of the MS Project Server.void
setSchema(String value)
Sets the schema of the MS Project Server.-
Methods inherited from class com.aspose.tasks.DbSettings
getConnectionString, getDriverClassName, setConnectionString, setDriverClassName
-
-
-
-
Constructor Detail
-
MspDbSettings
public MspDbSettings(String connectionString, UUID projectGuid)
Initializes a new instance of the
MspDbSettings
class.- Parameters:
connectionString
- the specified connection string.projectGuid
- the specified guid of a project to read.
-
-
Method Detail
-
getProjectGuid
public final UUID getProjectGuid()
Gets the guid of the project to read.
- Returns:
- the guid of the project to read.
-
getSchema
public final String getSchema()
Gets the schema of the MS Project Server. The default value is "pub".
- Returns:
- the schema of the MS Project Server.
-
setSchema
public final void setSchema(String value)
Sets the schema of the MS Project Server. The default value is "pub".
- Parameters:
value
- the schema of the MS Project Server.
-
-