MspDbSettings

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

ConstructorDescription
MspDbSettings(String connectionString, UUID projectGuid)Initializes a new instance of the MspDbSettings class.

Methods

MethodDescription
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:

ParameterTypeDescription
connectionStringjava.lang.Stringthe specified connection string.
projectGuidjava.util.UUIDthe 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:

ParameterTypeDescription
valuejava.lang.Stringthe schema of the MS Project Server.