DriverManager.LoginTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the maximum time in seconds that a driver can wait when attempting to log in to a database. -or- Sets the maximum time in seconds that a driver will wait while attempting to connect to a database.
public static int LoginTimeout { [Android.Runtime.Register("getLoginTimeout", "()I", "")] get; [Android.Runtime.Register("setLoginTimeout", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getLoginTimeout", "()I", "")>]
[<set: Android.Runtime.Register("setLoginTimeout", "(I)V", "")>]
static member LoginTimeout : int with get, set
Property Value
the driver login time limit in seconds
- Attributes
Remarks
Property getter documentation:
Gets the maximum time in seconds that a driver can wait when attempting to log in to a database.
Java documentation for java.sql.DriverManager.getLoginTimeout()
.
Property setter documentation:
Sets the maximum time in seconds that a driver will wait while attempting to connect to a database.
Java documentation for java.sql.DriverManager.setLoginTimeout(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.