UIConnectionInfoUtil.GetConnectionProtocol Метод

Определение

Возвращает объект SqlManagement Core NetworkProtocol, указывающий протокол соединения.

Перегрузки

GetConnectionProtocol(UIConnectionGroupInfo)

Возвращает объект SqlManagement Core NetworkProtocol, указывающий протокол соединения, из первого набора сведений о соединении в списке.

GetConnectionProtocol(UIConnectionInfo)

Возвращает объект SqlManagement Core NetworkProtocol, указывающий протокол соединения, с заданными сведениями о соединении.

GetConnectionProtocol(String)

Возвращает объект SqlManagement Core NetworkProtocol, указывающий протокол соединения, с заданным именем протокола.

GetConnectionProtocol(UIConnectionGroupInfo)

Возвращает объект SqlManagement Core NetworkProtocol, указывающий протокол соединения, из первого набора сведений о соединении в списке.

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

Параметры

connectionInfoList
UIConnectionGroupInfo

Список сведений о соединении.

Возвращаемое значение

Объект SqlManagement Core NetworkProtocol.

Применяется к

GetConnectionProtocol(UIConnectionInfo)

Возвращает объект SqlManagement Core NetworkProtocol, указывающий протокол соединения, с заданными сведениями о соединении.

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

Параметры

ci
UIConnectionInfo

Сведения о соединении.

Возвращаемое значение

Объект SqlManagement Core NetworkProtocol.

Применяется к

GetConnectionProtocol(String)

Возвращает объект SqlManagement Core NetworkProtocol, указывающий протокол соединения, с заданным именем протокола.

public:
 static Microsoft::SqlServer::Management::Common::NetworkProtocol GetConnectionProtocol(System::String ^ protocolName);
public static Microsoft.SqlServer.Management.Common.NetworkProtocol GetConnectionProtocol (string protocolName);
static member GetConnectionProtocol : string -> Microsoft.SqlServer.Management.Common.NetworkProtocol
Public Shared Function GetConnectionProtocol (protocolName As String) As NetworkProtocol

Параметры

protocolName
String

Строка, представляющая имя протокола.

Возвращаемое значение

Объект SqlManagement Core NetworkProtocol.

Применяется к