Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Project Class / Backup Method
Path to the directory where you want to save the backed up project file.
Custom name of the backed-up project file. If not provided the name of the project is used.
In This Topic
    Backup Method
    In This Topic
    Backup project.
    Syntax
    public void Backup( 
       string directoryPath,
       string fileName
    )

    Parameters

    directoryPath
    Path to the directory where you want to save the backed up project file.
    fileName
    Custom name of the backed-up project file. If not provided the name of the project is used.
    Exceptions
    ExceptionDescription
    Argument is null.
    Argument is invalid. The exception is thrown when a wrong argument is passed to the method or the setter of property.
    This directory was not found.
    The exception that is thrown when no project is open.
    See Also