IServerInformationProvider.GetServerInformation Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengambil informasi server di properti .
Overload
| GetServerInformation(ConnectionInfoBase) |
Mendapatkan informasi server yang menjelaskan penyedia informasi. |
| GetServerInformation(IEnumerable<ConnectionInfoBase>) |
Mengambil informasi server yang menjelaskan penyedia informasi. |
GetServerInformation(ConnectionInfoBase)
Mendapatkan informasi server yang menjelaskan penyedia informasi.
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
Antarmuka yang menentukan informasi koneksi.
Mengembalikan
Antarmuka IServerInformation yang menjelaskan penyedia informasi.
Berlaku untuk
GetServerInformation(IEnumerable<ConnectionInfoBase>)
Mengambil informasi server yang menjelaskan penyedia informasi.
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>
Antarmuka yang menentukan informasi koneksi.
Mengembalikan
Antarmuka IServerInformation yang menjelaskan penyedia informasi.