Compartir a través de


ApplicationClass.GetServerInfo(String, String) Método

Definición

Devuelve el número de versión de SQL Server del producto SQL Server instalado en el servidor de destino.

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)

Parámetros

bstrMachineName
String

Nombre del hardware del servidor para comprobar la versión de producto de SQL Server.

serverVersion
String

Cuando este método realiza una devolución, contiene el número de versión del producto SQL Server. Este parámetro se pasa sin inicializar.

Implementaciones

Atributos

Se aplica a