Compartilhar via


Método IDTSApplication100.GetServerInfo

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Returns the SQL Server version number of the SQL Server product installed on the target server. 

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
Sub GetServerInfo ( _
    bstrMachineName As String, _
    <OutAttribute> ByRef serverVersion As String _
)
'Uso
Dim instance As IDTSApplication100 
Dim bstrMachineName As String 
Dim serverVersion As String

instance.GetServerInfo(bstrMachineName, _
    serverVersion)
void GetServerInfo(
    string bstrMachineName,
    out string serverVersion
)
void GetServerInfo(
    [InAttribute] String^ bstrMachineName, 
    [OutAttribute] String^% serverVersion
)
abstract GetServerInfo : 
        bstrMachineName:string * 
        serverVersion:string byref -> unit
function GetServerInfo(
    bstrMachineName : String, 
    serverVersion : String
)

Parâmetros

  • bstrMachineName
    Tipo: System.String
    The name of the server hardware to check for the SQL Server product version.
  • serverVersion
    Tipo: System.String%
    When this method returns, contains the version number of the SQL Server product. This parameter is passed uninitialized.

Consulte também

Referência

IDTSApplication100 Interface

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper