UIConnectionInfoUtil.GetConnectionTimeout 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.
Initializes the UIConnectionInfo object from the first connection information in the list.
Overloads
GetConnectionTimeout(UIConnectionGroupInfo) |
Retrieves the connection timeout for a UIConnectionInfo object from the first connection info in the list with the specified list of connection information. |
GetConnectionTimeout(UIConnectionInfo) |
Retrieves the connection timeout for a UIConnection object with the specified connection information. |
GetConnectionTimeout(UIConnectionGroupInfo)
Retrieves the connection timeout for a UIConnectionInfo object from the first connection info in the list with the specified list of connection information.
public:
static int GetConnectionTimeout(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList);
public static int GetConnectionTimeout (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList);
static member GetConnectionTimeout : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo -> int
Public Shared Function GetConnectionTimeout (connectionInfoList As UIConnectionGroupInfo) As Integer
Parameters
- connectionInfoList
- UIConnectionGroupInfo
The list of the connection information.
Returns
The connection timeout.
Applies to
GetConnectionTimeout(UIConnectionInfo)
Retrieves the connection timeout for a UIConnection object with the specified connection information.
public:
static int GetConnectionTimeout(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci);
public static int GetConnectionTimeout (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
static member GetConnectionTimeout : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> int
Public Shared Function GetConnectionTimeout (ci As UIConnectionInfo) As Integer
Parameters
The information of the connection.
Returns
The connection timeout.