Metodo IDTSApplication100.GetServerInfo

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Sub GetServerInfo ( _
    bstrMachineName As String, _
    <OutAttribute> ByRef serverVersion As String _
)
'Utilizzo
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
)

Parametri

  • 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.

Vedere anche

Riferimento

IDTSApplication100 Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper