UIConnectionInfoUtil.GetServerType Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Inizializza il tipo di server da ottenere da UIConnectionInfo.
Overload
| GetServerType(Guid) |
Specifica il tipo di server da ottenere dall'oggetto UIConnectionInfo. |
| GetServerType(ServerType) |
Determina il tipo di server da ottenere da UIConnectionInfo. |
| GetServerType(UIConnectionInfo) |
Determina il tipo di server da ottenere dall'oggetto UIConnectionInfo. |
GetServerType(Guid)
Specifica il tipo di server da ottenere dall'oggetto 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
Parametri
- serverTypeGuid
- Guid
Identificatore univoco globale (GUID) di serverType.
Restituisce
Tipo di server da ottenere da UIConnectionInfo.
Si applica a
GetServerType(ServerType)
Determina il tipo di server da ottenere da 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
Parametri
- serverType
- ServerType
ServerType di UIConnectionInfo.
Restituisce
Tipo di server da ottenere da UIConnectionInfo.
Si applica a
GetServerType(UIConnectionInfo)
Determina il tipo di server da ottenere dall'oggetto 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
Parametri
Informazioni sulla connessione.
Restituisce
Tipo di server da ottenere dall'oggetto UIConnectionInfo.