Condividi tramite


Metodo IDTSApplication100.GetServerVersionEx

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

Returns the edition, product level, and other values that indicate the version of SSIS installed.

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

Sintassi

'Dichiarazione
Sub GetServerVersionEx ( _
    bstrServerName As String, _
    <OutAttribute> ByRef pdwEditionID As UInteger, _
    <OutAttribute> ByRef peSsisEditionID As DTSProductLevel, _
    <OutAttribute> ByRef pbstrProductVersion As String, _
    <OutAttribute> ByRef pbstrProductLevel As String _
)
'Utilizzo
Dim instance As IDTSApplication100 
Dim bstrServerName As String 
Dim pdwEditionID As UInteger 
Dim peSsisEditionID As DTSProductLevel 
Dim pbstrProductVersion As String 
Dim pbstrProductLevel As String

instance.GetServerVersionEx(bstrServerName, _
    pdwEditionID, peSsisEditionID, pbstrProductVersion, _
    pbstrProductLevel)
void GetServerVersionEx(
    string bstrServerName,
    out uint pdwEditionID,
    out DTSProductLevel peSsisEditionID,
    out string pbstrProductVersion,
    out string pbstrProductLevel
)
void GetServerVersionEx(
    [InAttribute] String^ bstrServerName, 
    [OutAttribute] unsigned int% pdwEditionID, 
    [OutAttribute] DTSProductLevel% peSsisEditionID, 
    [OutAttribute] String^% pbstrProductVersion, 
    [OutAttribute] String^% pbstrProductLevel
)
abstract GetServerVersionEx : 
        bstrServerName:string * 
        pdwEditionID:uint32 byref * 
        peSsisEditionID:DTSProductLevel byref * 
        pbstrProductVersion:string byref * 
        pbstrProductLevel:string byref -> unit
function GetServerVersionEx(
    bstrServerName : String, 
    pdwEditionID : uint, 
    peSsisEditionID : DTSProductLevel, 
    pbstrProductVersion : String, 
    pbstrProductLevel : String
)

Parametri

  • bstrServerName
    Tipo: System.String
    The name of the server to get the product version information from.
  • pdwEditionID
    Tipo: System.UInt32%
    When this method returns, contains an integer that indicates the edition of the product. This parameter is passed uninitialized.
  • pbstrProductVersion
    Tipo: System.String%
    When this method returns, contains the build number as seen in Help / About, formatted as major.minor.build. This parameter is passed uninitialized.
  • pbstrProductLevel
    Tipo: System.String%
    When this method returns, contains the service pack level of the SSIS server. This parameter is passed uninitialized.

Vedere anche

Riferimento

IDTSApplication100 Interfaccia

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