 | IExportPropertiesMaxExportAgents Property |
The maximum number of export agents allowed to run with this case.
Namespace:
EdaIntegrationContract.Exports
Assembly:
EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
Syntaxint MaxExportAgents { get; set; }
Property Value
Type:
Int32
ExceptionsException | Condition |
---|
EdaApiException | An exception is thrown if the max export agents value is not between 0 and 999. |
RemarksA value of 0 represents an unlimited number of agents.
Examples
This example demonstrates how to set and retrieve the MaxExportAgents.
using Law.EdaIntegration;
class Sample
{
public static void Main()
{
EdaIntegration edaIntegration = EdaIntegration.ConnectToExplore();
Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");
edaCase.Exports.Properties.MaxExportAgents = 4;
edaCase.Exports.UpdateProperties();
Console.WriteLine("MaxExportAgents: {0}", edaCase.Exports.Properties.MaxExportAgents);
}
}
See Also