LicenseServer.AlternateTimeout Property

ClosedDescription

Sets and returns the maximum length of time that BarTender will keep trying to communicate with the alternate Seagull License Server before giving up.

ClosedSyntax

LicenseServer.AlternateTimeout = Value

Where Value is the timeout value in seconds.

ClosedRequirements

Version

BarTender 7.50 or higher

Edition

Automation, Enterprise Automation

ClosedVB.NET Example

'Declare a BarTender application variable

Dim btApp As BarTender.Application

'Create a new instance of BarTender

btApp = New BarTender.Application

'Set the BarTender application visible

btApp.Visible = True

'Set the timeout value

btApp.LicenseServer.Timeout = 15

'Set the alternate timeout value

btApp.LicenseServer.AlternateTimeout = 30

'End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)

ClosedC# Example

// Declare a BarTender application variable

BarTender.Application btApp;

// Create a new instance of BarTender

btApp = new BarTender.Application();

// Set the BarTender application visible

btApp.Visible = true;

// Set the timeout value

btApp.LicenseServer.Timeout = 15;

// Set the alternate timeout value

btApp.LicenseServer.AlternateTimeout = 30;

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);