Click or drag to resize

IExportManager.Delete Method

Delete an export.

Namespace:  EdaIntegrationContract.Exports
Assembly:  EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
Syntax
C#
void Delete(
	int exportId
)

Parameters

exportId
Type: System.Int32
The unique identifier of the export to delete
Exceptions
ExceptionCondition
EdaApiExceptionThrown if an export with the provided id does not exist
Examples
The following example demonstrates how to delete an export
C#
using EdaIntegrationContract;
using EdaIntegrationContract.Case;
using EdaIntegrationContract.Exports;

class Sample
{
    public static void Main()
    {
        var edaIntegration = new EdaIntegration().ConnectToExplore();
        ICase edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");

        // Select the export to delete
        IExport export = edaCase.Exports.ByName("Export-001");

        // Process the delete
        edaCase.Exports.Delete(export.Id);
    }
}
See Also