ConnectionTimeout 屬性

Gets or sets the connection timeout interval to the server, in seconds.

命名空間:  Microsoft.SqlServer.Management.MultiServerConnection
組件:  Microsoft.SqlServer.Management.MultiServerConnection (在 Microsoft.SqlServer.Management.MultiServerConnection.dll 中)

語法

public int ConnectionTimeout { get; set; }

屬性值

型別:System. . :: . .Int32
An Int specifying the amount of time, in seconds, before a connection to the server will time out. If 0, the timeout interval is infinite.