Share via


ApplicationClass.GetServerVersionEx Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

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

Syntax

'Declaration
Public Overridable 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 _
)
'Usage
Dim instance As ApplicationClass 
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)
public virtual void GetServerVersionEx(
    string bstrServerName,
    out uint pdwEditionID,
    out DTSProductLevel peSsisEditionID,
    out string pbstrProductVersion,
    out string pbstrProductLevel
)
public:
virtual 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  
override GetServerVersionEx : 
        bstrServerName:string * 
        pdwEditionID:uint32 byref * 
        peSsisEditionID:DTSProductLevel byref * 
        pbstrProductVersion:string byref * 
        pbstrProductLevel:string byref -> unit
public function GetServerVersionEx(
    bstrServerName : String, 
    pdwEditionID : uint, 
    peSsisEditionID : DTSProductLevel, 
    pbstrProductVersion : String, 
    pbstrProductLevel : String
)

Parameters

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

Implements

IDTSApplication100.GetServerVersionEx(String, UInt32%, DTSProductLevel%, String%, String%)

See Also

Reference

ApplicationClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace