Linguaggio

ApplicationClass.GetServerInfo(String, String) Metodo

Definizione

Restituisce il numero di versione di SQL Server del prodotto SQL Server installato sul server di destinazione.

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)

Parametri

bstrMachineName
String

Il nome dell'hardware server per controllare la versione del prodotto SQL Server.

serverVersion
String

Quando questo metodo ritorna, contiene il numero di versione del prodotto SQL Server. Questo parametro viene passato non inizializzato.

Implementazioni

Attributi

Si applica a