UIConnectionInfoUtil.GetServerType Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa o tipo de servidor a ser obtido de UIConnectionInfo.
Sobrecargas
| GetServerType(Guid) |
Especifica o tipo de servidor a ser obtido do objeto UIConnectionInfo. |
| GetServerType(ServerType) |
Determina o tipo de servidor a ser obtido de UIConnectionInfo. |
| GetServerType(UIConnectionInfo) |
Determina o tipo de servidor a ser obtido do objeto UIConnectionInfo. |
GetServerType(Guid)
Especifica o tipo de servidor a ser obtido do objeto 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
Parâmetros
- serverTypeGuid
- Guid
O identificador global exclusivo do serverType.
Retornos
O tipo de servidor a ser obtido de UIConnectionInfo.
Aplica-se a
GetServerType(ServerType)
Determina o tipo de servidor a ser obtido de 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
Parâmetros
- serverType
- ServerType
O serverType de UIConnectionInfo.
Retornos
O tipo de servidor a ser obtido de UIConnectionInfo.
Aplica-se a
GetServerType(UIConnectionInfo)
Determina o tipo de servidor a ser obtido do objeto 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
Parâmetros
As informações da conexão.
Retornos
O tipo de servidor a ser obtido do objeto UIConnectionInfo.