IServerInformationService.GetServerInformation Méthode

Définition

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.

S’applique à