Condividi tramite


ICommonDataSource.LoginTimeout Property

Definition

While attempting to connect to a database, this method get the maximum time in seconds that this data source can wait.

public int LoginTimeout { [Android.Runtime.Register("getLoginTimeout", "()I", "GetGetLoginTimeoutHandler:Javax.Sql.ICommonDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setLoginTimeout", "(I)V", "GetSetLoginTimeout_IHandler:Javax.Sql.ICommonDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getLoginTimeout", "()I", "GetGetLoginTimeoutHandler:Javax.Sql.ICommonDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setLoginTimeout", "(I)V", "GetSetLoginTimeout_IHandler:Javax.Sql.ICommonDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.LoginTimeout : int with get, set

Property Value

Attributes

Exceptions

An exception threw when a data base access error occurs.

Remarks

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.

Applies to