Collapse All Expand All

.NET Framework Class Library
Tibems Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Returns the connect attempts setting.

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public static string GetConnectAttempts()

    Public Shared Function GetConnectAttempts As String

    public:
    static String^ GetConnectAttempts()

#### Return Value

The string argument to SetConnectAttempts(String), rather than the numeric value of the setting. If the client has not set a value, this method returns the null string.

# Remarks

This setting governs all client Connection objects as they attempt to connect to the server. Its value is a string of the form attempts or attempts,delay

- attempts limits the number of times that the connection object attempts to establish a connection to the server. When this property is absent, the default value is 2. The minimum value is 1.
- delay is the time (in milliseconds) between connection attempts. When absent, the default value is 500. The minimum value is 250.

# See Also

Tibems Class
TIBCO.EMS Namespace