| ExportManagerDelete Method |
Delete an export.
Namespace:
Law.EdaIntegration.Exports
Assembly:
Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax public 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 Law.EdaIntegration;
using Law.EdaIntegration.Case;
using Law.EdaIntegration.Exports;
class Sample
{
public static void Main()
{
string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword";
EdaIntegration edaIntegration = new EdaIntegration();
edaIntegration.InitializeEnvironment(connectionString);
Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");
Export export = edaCase.Exports.ByName("Export-001");
edaCase.Exports.Delete(export.Id);
}
}
See Also