Bagikan melalui


IDTSApplication100.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
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 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
)

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 as seen in Help / About, formatted as major.minor.build. 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.

See Also

Reference

IDTSApplication100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace