LicenseServer.Timeout Property

ClosedDescription

Sets and returns the maximum length of time that BarTender keeps trying to communicate with the BarTender Licensing Service.

ClosedSyntax

LicenseServer.Timeout = Value

Where Value is the timeout value in seconds.

ClosedRequirements

Version

BarTender 6.12 or higher

Edition

Automation, Enterprise

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

'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;

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);