MspDbSettings
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.tasks.DbSettings
public class MspDbSettings extends DbSettings
Allows to set necessary options to read project data from MS Project Server database.
Constructors
Constructor | Description |
---|---|
MspDbSettings(String connectionString, UUID projectGuid) | Initializes a new instance of the MspDbSettings class. |
Methods
Method | Description |
---|---|
getProjectGuid() | Gets the guid of the project to read. |
getSchema() | Gets the schema of the MS Project Server. |
setSchema(String value) | Sets the schema of the MS Project Server. |
MspDbSettings(String connectionString, UUID projectGuid)
public MspDbSettings(String connectionString, UUID projectGuid)
Initializes a new instance of the MspDbSettings class.
Parameters:
Parameter | Type | Description |
---|---|---|
connectionString | java.lang.String | the specified connection string. |
projectGuid | java.util.UUID | the specified guid of a project to read. |
getProjectGuid()
public final UUID getProjectGuid()
Gets the guid of the project to read.
Returns: java.util.UUID - 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: java.lang.String - the schema of the MS Project Server.
setSchema(String value)
public final void setSchema(String value)
Sets the schema of the MS Project Server. The default value is “pub”.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the schema of the MS Project Server. |