Condividi tramite


ApplicationClass.GetServerInfo(String, String) Metodo

Definizione

Restituisce il numero di versione del prodotto SQL Server installato nel 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

Nome dell'hardware del server per la verifica della versione del prodotto SQL Server.

serverVersion
String

Quando restituisce un risultato, il metodo contiene il numero di versione del prodotto SQL Server. Questo parametro viene passato non inizializzato.

Implementazioni

Attributi

Si applica a