Class DataDirectory
Before jobs can be accessed or job repositories can be listed you must choose a data directory. It contains needed setup data for SDS2.
Inherited Members
Namespace: DesignData.SDS2.Database
Assembly: DesignData.SDS2.Database.dll
Syntax
public sealed class DataDirectory
Constructors
DataDirectory()
Before jobs can be accessed or job repositories can be listed you must choose a data directory. It contains needed setup data for SDS2.
Declaration
public DataDirectory()
Properties
Default
The current default data directory, to be passed to DataDirectory.Open
Declaration
public static string Default { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
If no valid data directory can be found, this will return an empty string.
Methods
~DataDirectory()
Before jobs can be accessed or job repositories can be listed you must choose a data directory. It contains needed setup data for SDS2.
Declaration
protected ~DataDirectory()
Open(string)
Make this the current data directory in this process. This must be done before you can list job repositories.
Declaration
public static bool Open(string directory)
Parameters
Type | Name | Description |
---|---|---|
string | directory |
Returns
Type | Description |
---|---|
bool | true if the job is open, false if we were unable to open the job. |