Udostępnij przez


Metoda IDTSApplication100.GetServerInfo

Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Aby uzyskać więcej informacji, zobacz temat ApplicationClass.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Zestaw:  Microsoft.SqlServer.DTSRuntimeWrap (w Microsoft.SqlServer.DTSRuntimeWrap.dll)

Składnia

'Deklaracja
Sub GetServerInfo ( _
    bstrMachineName As String, _
    <OutAttribute> ByRef serverVersion As String _
)
'Użycie
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
)

Parametry