Share via


ApplicationClass.GetServerInfo(String, String) Méthode

Définition

Retourne le numéro de version du produit SQL Server installé sur le serveur cible.

public:
 virtual void GetServerInfo(System::String ^ bstrMachineName, [Runtime::InteropServices::Out] System::String ^ % serverVersion) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::GetServerInfo;
public:
 virtual void GetServerInfo(System::String ^ bstrMachineName, [Runtime::InteropServices::Out] System::String ^ % serverVersion) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::GetServerInfo;
[System.Runtime.InteropServices.DispId(40)]
public virtual void GetServerInfo (string bstrMachineName, out string serverVersion);
[<System.Runtime.InteropServices.DispId(40)>]
abstract member GetServerInfo : string * string -> unit
override this.GetServerInfo : string * string -> unit
Public Overridable Sub GetServerInfo (bstrMachineName As String, ByRef serverVersion As String)

Paramètres

bstrMachineName
String

Nom du serveur à vérifier pour la version du produit SQL Server.

serverVersion
String

Lorsque cette méthode est retournée, contient le numéro de version du produit SQL Server. Ce paramètre est passé sans être initialisé.

Implémente

Attributs

S’applique à