LicenseServer.Retries Property

ClosedDescription

Sets and returns the number of times that BarTender will attempt to connect to the Seagull License Server.

ClosedSyntax

LicenseServer.Retries = Value

Where Value is the total number of retries that will be attempted to connect to the preferred Seagull License Server.

ClosedRequirements

Version

BarTender 9.01 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 license server address property

btApp.LicenseServer.Address = "MyPC"

'Set the number of times BarTender will attempt to connect to the license server

btApp.LicenseServer.Retries = 3

'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 license server address property

btApp.LicenseServer.Address = "MyPC";

// Set the number of times BarTender will attempt to connect to the license server

btApp.LicenseServer.Retries = 3;

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);