IServerInformationProvider.GetServerInformation Method

Definition

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.

Applies to