UIConnectionInfoUtil.GetCoreConnectionType Method

Definition

Initializes the enumerator connection type that corresponds to the given UIConnectionInfo structure.

Overloads

GetCoreConnectionType(UIConnectionInfo)

Retrieves enumerator connection type that corresponds to the given UIConnectionInfo structure.

GetCoreConnectionType(UIConnectionGroupInfo)

Retrieves the enumerator connection type that corresponds to the given UIConnectionInfo structure from the first connection information in the list.

GetCoreConnectionType(UIConnectionInfo)

Retrieves enumerator connection type that corresponds to the given UIConnectionInfo structure.

public:
 static Microsoft::SqlServer::Management::Common::ConnectionType GetCoreConnectionType(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci);
public static Microsoft.SqlServer.Management.Common.ConnectionType GetCoreConnectionType (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
static member GetCoreConnectionType : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> Microsoft.SqlServer.Management.Common.ConnectionType
Public Shared Function GetCoreConnectionType (ci As UIConnectionInfo) As ConnectionType

Parameters

ci
UIConnectionInfo

The information of the connection.

Returns

The enumerator connection type.

Applies to

GetCoreConnectionType(UIConnectionGroupInfo)

Retrieves the enumerator connection type that corresponds to the given UIConnectionInfo structure from the first connection information in the list.

public:
 static Microsoft::SqlServer::Management::Common::ConnectionType GetCoreConnectionType(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ connectionInfoList);
public static Microsoft.SqlServer.Management.Common.ConnectionType GetCoreConnectionType (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo connectionInfoList);
static member GetCoreConnectionType : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo -> Microsoft.SqlServer.Management.Common.ConnectionType
Public Shared Function GetCoreConnectionType (connectionInfoList As UIConnectionGroupInfo) As ConnectionType

Parameters

connectionInfoList
UIConnectionGroupInfo

The list of the connection information.

Returns

The enumerator connection type.

Applies to