Méthode IDTSApplication100.GetServerInfo
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Returns the SQL Server version number of the SQL Server product installed on the target server.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly : Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntaxe
'Déclaration
Sub GetServerInfo ( _
bstrMachineName As String, _
<OutAttribute> ByRef serverVersion As String _
)
'Utilisation
Dim instance As IDTSApplication100
Dim bstrMachineName As String
Dim serverVersion As String
instance.GetServerInfo(bstrMachineName, _
serverVersion)
void GetServerInfo(
string bstrMachineName,
out string serverVersion
)
void GetServerInfo(
[InAttribute] String^ bstrMachineName,
[OutAttribute] String^% serverVersion
)
abstract GetServerInfo :
bstrMachineName:string *
serverVersion:string byref -> unit
function GetServerInfo(
bstrMachineName : String,
serverVersion : String
)
Paramètres
- bstrMachineName
Type : System.String
The name of the server hardware to check for the SQL Server product version.
- serverVersion
Type : System.String%
When this method returns, contains the version number of the SQL Server product. This parameter is passed uninitialized.