UIConnectionInfoUtil.GetServerType Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise le type de serveur à obtenir d'UIConnectionInfo.
Surcharges
| GetServerType(Guid) |
Spécifie le type de serveur à obtenir de l'objet UIConnectionInfo. |
| GetServerType(ServerType) |
Détermine le type de serveur à obtenir d'UIConnectionInfo. |
| GetServerType(UIConnectionInfo) |
Détermine le type de serveur à obtenir de l'objet UIConnectionInfo. |
GetServerType(Guid)
Spécifie le type de serveur à obtenir de l'objet 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
Paramètres
- serverTypeGuid
- Guid
Identificateur unique universel du serverType.
Retours
Type de serveur à obtenir d'UIConnectionInfo.
S’applique à
GetServerType(ServerType)
Détermine le type de serveur à obtenir d'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
Paramètres
- serverType
- ServerType
ServerType d'UIConnectionInfo.
Retours
Type de serveur à obtenir d'UIConnectionInfo.
S’applique à
GetServerType(UIConnectionInfo)
Détermine le type de serveur à obtenir de l'objet 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
Paramètres
Informations de connexion.
Retours
Type de serveur à obtenir de l'objet UIConnectionInfo.