Método IDTSApplication100.GetServerVersionEx
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
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 (em Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintaxe
'Declaração
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 _
)
'Uso
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
)
Parâmetros
- 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.
- peSsisEditionID
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSProductLevel%
When this method returns, contains a value from the DTSProductLevel enumeration. 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.