IServerInformationService.GetServerInformation Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft ein IServerInformation-Objekt ab, das die bereitgestellten Verbindungsinformationen unterstützt.
Überlädt
| GetServerInformation(ConnectionInfoBase) |
Ruft ein IServerInformation-Objekt mit den angegebenen Verbindungsinformationen ab. |
| GetServerInformation(IEnumerable<ConnectionInfoBase>) |
Ruft ein IEnumerable-Objekt von ServerInformation ab, das die bereitgestellten Verbindungsinformationen unterstützt. |
GetServerInformation(ConnectionInfoBase)
Ruft ein IServerInformation-Objekt mit den angegebenen Verbindungsinformationen ab.
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
Parameter
- connectionInfo
- ConnectionInfoBase
Eine Schnittstelle, die die Verbindungsinformationen angibt.
Gibt zurück
Ein IServerInformation-Objekt, das die bereitgestellten Verbindungsinformationen unterstützt.
Gilt für:
GetServerInformation(IEnumerable<ConnectionInfoBase>)
Ruft ein IEnumerable-Objekt von ServerInformation ab, das die bereitgestellten Verbindungsinformationen unterstützt.
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
Parameter
- connectionInfos
- IEnumerable<ConnectionInfoBase>
Eine Schnittstelle, die die Verbindungsinformationen angibt.
Gibt zurück
Ein IEnumerable-Objekt von ServerInformation, das die bereitgestellten Verbindungsinformationen unterstützt.