| IExportManagerDelete Method |
Delete an export.
Namespace:
EdaIntegrationContract.Exports
Assembly:
EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 7.6
Syntax void Delete(
int exportId
)
Parameters
- exportId
- Type: SystemInt32
The unique identifier of the export to delete
Exceptions Exception | Condition |
---|
EdaApiException | Thrown if an export with the provided id does not exist |
Examples
The following example demonstrates how to delete an export
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");
IExport export = edaCase.Exports.ByName("Export-001");
edaCase.Exports.Delete(export.Id);
}
}
See Also