UIConnectionInfoUtil.SetConnectionTimeout Method
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.
Specifies the connection timeout value for a given UIConnectionInfo object.
Overloads
SetConnectionTimeout(UIConnectionInfo, Int32) |
Specifies the connection timeout value for a given UIConnectionInfo object with the specified with the specified connection information and timeout parameter. |
SetConnectionTimeout(UIConnectionGroupInfo, Int32) |
Specifies the connection timeout value for a given UIConnectionInfo object with the specified connection information list and timeout parameter. |
SetConnectionTimeout(UIConnectionInfo, Int32)
Specifies the connection timeout value for a given UIConnectionInfo object with the specified with the specified connection information and timeout parameter.
public:
static void SetConnectionTimeout(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci, int timeout);
public static void SetConnectionTimeout (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci, int timeout);
static member SetConnectionTimeout : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * int -> unit
Public Shared Sub SetConnectionTimeout (ci As UIConnectionInfo, timeout As Integer)
Parameters
The information of the connection.
- timeout
- Int32
An integer that represents the timeout value.
Applies to
SetConnectionTimeout(UIConnectionGroupInfo, Int32)
Specifies the connection timeout value for a given UIConnectionInfo object with the specified connection information list and timeout parameter.
public:
static void SetConnectionTimeout(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList, int timeout);
public static void SetConnectionTimeout (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList, int timeout);
static member SetConnectionTimeout : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo * int -> unit
Public Shared Sub SetConnectionTimeout (connectionInfoList As UIConnectionGroupInfo, timeout As Integer)
Parameters
- connectionInfoList
- UIConnectionGroupInfo
The list of the connection information.
- timeout
- Int32
An integer the represents the timeout.