IServerInformationService.GetServerInformation 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.
Récupère un objet IServerInformation qui prend en charge les informations de connexion fournies.
Surcharges
| GetServerInformation(ConnectionInfoBase) |
Récupère un objet IServerInformation avec les informations de connexion spécifiées. |
| GetServerInformation(IEnumerable<ConnectionInfoBase>) |
Récupère un objet IEnumerable de ServerInformation qui prend en charge les informations de connexion fournies. |
GetServerInformation(ConnectionInfoBase)
Récupère un objet IServerInformation avec les informations de connexion spécifiées.
public:
Microsoft::SqlServer::Management::ServerInformation::IServerConnectionInformation ^ GetServerInformation(Microsoft::SqlServer::Management::Common::ConnectionInfoBase ^ connectionInfo);
public Microsoft.SqlServer.Management.ServerInformation.IServerConnectionInformation GetServerInformation (Microsoft.SqlServer.Management.Common.ConnectionInfoBase connectionInfo);
abstract member GetServerInformation : Microsoft.SqlServer.Management.Common.ConnectionInfoBase -> Microsoft.SqlServer.Management.ServerInformation.IServerConnectionInformation
Public Function GetServerInformation (connectionInfo As ConnectionInfoBase) As IServerConnectionInformation
Paramètres
- connectionInfo
- ConnectionInfoBase
Interface qui spécifie les informations de connexion.
Retours
Objet IServerInformation qui prend en charge les informations de connexion fournies.
S’applique à
GetServerInformation(IEnumerable<ConnectionInfoBase>)
Récupère un objet IEnumerable de ServerInformation qui prend en charge les informations de connexion fournies.
public:
Microsoft::SqlServer::Management::ServerInformation::IServerConnectionInformation ^ GetServerInformation(System::Collections::Generic::IEnumerable<Microsoft::SqlServer::Management::Common::ConnectionInfoBase ^> ^ connectionInfos);
public Microsoft.SqlServer.Management.ServerInformation.IServerConnectionInformation GetServerInformation (System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Common.ConnectionInfoBase> connectionInfos);
abstract member GetServerInformation : seq<Microsoft.SqlServer.Management.Common.ConnectionInfoBase> -> Microsoft.SqlServer.Management.ServerInformation.IServerConnectionInformation
Public Function GetServerInformation (connectionInfos As IEnumerable(Of ConnectionInfoBase)) As IServerConnectionInformation
Paramètres
- connectionInfos
- IEnumerable<ConnectionInfoBase>
Interface qui spécifie les informations de connexion.
Retours
Objet IEnumerable du ServerInformation qui prend en charge les informations de connexion fournies.