| ExportErrorManagerById Method |
Retrieves a specific error for an export.
Namespace:
Law.EdaIntegration.Exports
Assembly:
Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax public ExportError ById(
int exportErrorId
)
Parameters
- exportErrorId
- Type: SystemInt32
The unique identifier of the export error to retrieve.
Return Value
Type:
ExportErrorThe requested
ExportErrorExceptions Examples
The following example demonstrates retrieving a specific error for an export.
using Law.EdaIntegration;
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");
ExportError error = export.Errors.ById(4);
Console.WriteLine("Id: {0}", error.Id);
Console.WriteLine("Message: {0}", error.Message);
Console.WriteLine("Doc Id: {0}", error.DocumentId);
}
}
See Also