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 du serveur dans la propriété.
Surcharges
| Nom | Description |
|---|---|
| GetServerInformation(ConnectionInfoBase) |
Obtient les informations du serveur qui décrivent le fournisseur d’informations. |
| GetServerInformation(IEnumerable<ConnectionInfoBase>) |
Récupère les informations serveur qui décrivent le fournisseur d’informations. |
GetServerInformation(ConnectionInfoBase)
Obtient les informations du 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
Une interface qui spécifie les informations de connexion.
Retours
Une interface IServerInformation qui décrit le fournisseur d’informations.
S’applique à
GetServerInformation(IEnumerable<ConnectionInfoBase>)
Récupère les informations 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>
Une interface qui spécifie les informations de connexion.
Retours
Une interface IServerInformation qui décrit le fournisseur d’informations.