共用方式為


ApplicationClass.GetServerVersionEx Method

Definition

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

public:
 virtual void GetServerVersionEx(System::String ^ bstrServerName, [Runtime::InteropServices::Out] System::UInt32 % pdwEditionID, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSProductLevel % peSsisEditionID, [Runtime::InteropServices::Out] System::String ^ % pbstrProductVersion, [Runtime::InteropServices::Out] System::String ^ % pbstrProductLevel) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::GetServerVersionEx;
public:
 virtual void GetServerVersionEx(System::String ^ bstrServerName, [Runtime::InteropServices::Out] System::UInt32 % pdwEditionID, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSProductLevel % peSsisEditionID, [Runtime::InteropServices::Out] System::String ^ % pbstrProductVersion, [Runtime::InteropServices::Out] System::String ^ % pbstrProductLevel) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::GetServerVersionEx;
[System.Runtime.InteropServices.DispId(65)]
public virtual void GetServerVersionEx (string bstrServerName, out uint pdwEditionID, out Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSProductLevel peSsisEditionID, out string pbstrProductVersion, out string pbstrProductLevel);
[<System.Runtime.InteropServices.DispId(65)>]
abstract member GetServerVersionEx : string * uint32 * DTSProductLevel * string * string -> unit
override this.GetServerVersionEx : string * uint32 * DTSProductLevel * string * string -> unit
Public Overridable Sub GetServerVersionEx (bstrServerName As String, ByRef pdwEditionID As UInteger, ByRef peSsisEditionID As DTSProductLevel, ByRef pbstrProductVersion As String, ByRef pbstrProductLevel As String)

Parameters

bstrServerName
String

The name of the server to get the product version information from.

pdwEditionID
UInt32

When this method returns, contains an integer that indicates the edition of the product. This parameter is passed uninitialized.

peSsisEditionID
DTSProductLevel

When this method returns, contains one of the values of the DTSProductLevel enumeration. This parameter is passed uninitialized.

pbstrProductVersion
String

When this method returns, contains the build number. This parameter is passed uninitialized.

pbstrProductLevel
String

When this method returns, contains the service pack level of the SSIS server. This parameter is passed uninitialized.

Implements

Attributes

Applies to