IServerInformationProvider.GetServerInformation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the server information in the property.
Overloads
GetServerInformation(ConnectionInfoBase) |
Gets the server information that describes the information provider. |
GetServerInformation(IEnumerable<ConnectionInfoBase>) |
Retrieves the server information that describes the information provider. |
GetServerInformation(ConnectionInfoBase)
Gets the server information that describes the information provider.
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
Parameters
- connectionInfo
- ConnectionInfoBase
An interface that specifies the connection information.
Returns
An IServerInformation interface that describes the information provider.
Applies to
GetServerInformation(IEnumerable<ConnectionInfoBase>)
Retrieves the server information that describes the information provider.
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
Parameters
- connectionInfos
- IEnumerable<ConnectionInfoBase>
An interface that specifies the connection information.
Returns
An IServerInformation interface that describes the information provider.