Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    DataDirectory
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: DesignData.SDS2.Database
    Assembly: DesignData.SDS2.Database.dll
    Syntax
    public sealed class DataDirectory

    Constructors

    DataDirectory()

    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
    System.String
    Remarks

    If no valid data directory can be found, this will return an empty string.

    Methods

    Finalize()

    Declaration
    protected void Finalize()

    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
    System.String directory
    Returns
    Type Description
    System.Boolean

    true if the job is open, false if we were unable to open the job.

    Back to top