IServerInformationProvider.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 les informations relatives au serveur dans la propriété.
Surcharges
| GetServerInformation(ConnectionInfoBase) |
Obtient les informations relatives au serveur qui décrivent le fournisseur d'informations. |
| GetServerInformation(IEnumerable<ConnectionInfoBase>) |
Récupère les informations relatives au serveur qui décrivent le fournisseur d'informations. |
GetServerInformation(ConnectionInfoBase)
Obtient les informations relatives au serveur qui décrivent le fournisseur d'informations.
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
Interface IServerInformation qui décrit le fournisseur d'informations.
S’applique à
GetServerInformation(IEnumerable<ConnectionInfoBase>)
Récupère les informations relatives au serveur qui décrivent le fournisseur d'informations.
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
Interface IServerInformation qui décrit le fournisseur d'informations.