共用方式為


GetServerInfo 方法

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

For more information, see ApplicationClass.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub GetServerInfo ( _
    bstrMachineName As String, _
    <OutAttribute> ByRef serverVersion As String _
)
'用途
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
)

參數