SqlStoreConnection.ConnectTimeout 屬性
Gets or sets the timeout interval, in seconds. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Overrides Property ConnectTimeout As Integer
Get
Set
'用途
Dim instance As SqlStoreConnection
Dim value As Integer
value = instance.ConnectTimeout
instance.ConnectTimeout = value
public override int ConnectTimeout { get; set; }
public:
virtual property int ConnectTimeout {
int get () override;
void set (int value) override;
}
abstract ConnectTimeout : int with get, set
override ConnectTimeout : int with get, set
override function get ConnectTimeout () : int
override function set ConnectTimeout (value : int)
屬性值
型別:System.Int32
A Int value specifying the timeout interval.