IServerInformationService.GetServerInformation メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した接続情報をサポートする IServerInformation オブジェクトを取得します。
オーバーロード
| GetServerInformation(ConnectionInfoBase) |
指定した接続情報を持つ IServerInformation オブジェクトを取得します。 |
| GetServerInformation(IEnumerable<ConnectionInfoBase>) |
指定した接続情報をサポートする ServerInformation の IEnumerable オブジェクトを取得します。 |
GetServerInformation(ConnectionInfoBase)
指定した接続情報を持つ IServerInformation オブジェクトを取得します。
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
パラメーター
- connectionInfo
- ConnectionInfoBase
接続情報を示すインターフェイスです。
戻り値
指定した接続情報をサポートする IServerInformation オブジェクトです。
適用対象
GetServerInformation(IEnumerable<ConnectionInfoBase>)
指定した接続情報をサポートする ServerInformation の IEnumerable オブジェクトを取得します。
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
パラメーター
- connectionInfos
- IEnumerable<ConnectionInfoBase>
接続情報を示すインターフェイスです。
戻り値
指定した接続情報をサポートする ServerInformation の IEnumerable オブジェクトです。