UIConnectionInfoUtil.GetServerType Метод

Определение

Инициализирует тип сервера, получаемый из UIConnectionInfo.

Перегрузки

GetServerType(Guid)

Указывает тип сервера, получаемый из объекта UIConnectionInfo.

GetServerType(ServerType)

Определяет тип сервера, получаемый из UIConnectionInfo.

GetServerType(UIConnectionInfo)

Определяет тип сервера, получаемый из объекта UIConnectionInfo.

GetServerType(Guid)

Указывает тип сервера, получаемый из объекта UIConnectionInfo.

public:
 static Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType ^ GetServerType(Guid serverTypeGuid);
public static Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType GetServerType (Guid serverTypeGuid);
static member GetServerType : Guid -> Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType
Public Shared Function GetServerType (serverTypeGuid As Guid) As IServerType

Параметры

serverTypeGuid
Guid

Идентификатор GUID для serverType.

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

Тип сервера, получаемый из UIConnectionInfo.

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

GetServerType(ServerType)

Определяет тип сервера, получаемый из UIConnectionInfo.

public:
 static Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType ^ GetServerType(Microsoft::SqlServer::Management::Common::ServerType serverType);
public static Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType GetServerType (Microsoft.SqlServer.Management.Common.ServerType serverType);
static member GetServerType : Microsoft.SqlServer.Management.Common.ServerType -> Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType
Public Shared Function GetServerType (serverType As ServerType) As IServerType

Параметры

serverType
ServerType

Тип serverType из UIConnectionInfo.

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

Тип сервера, получаемый из UIConnectionInfo.

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

GetServerType(UIConnectionInfo)

Определяет тип сервера, получаемый из объекта UIConnectionInfo.

public:
 static Microsoft::SqlServer::Management::UI::ConnectionDlg::IServerType ^ GetServerType(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci);
public static Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType GetServerType (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
static member GetServerType : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType
Public Shared Function GetServerType (ci As UIConnectionInfo) As IServerType

Параметры

ci
UIConnectionInfo

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

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

Тип сервера, получаемый из объекта UIConnectionInfo.

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