Freigeben über


GetServerInfo-Methode

Die API unterstützt die .NET Framework-Infrastruktur und ist nicht für eine direkte Verwendung vom Code aus vorgesehen.

For more information, see Application.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Sub GetServerInfo ( _
    bstrMachineName As String, _
    <OutAttribute> ByRef serverVersion As String _
)
'Usage
Dim instance As ApplicationClass
Dim bstrMachineName As String
Dim serverVersion As String

instance.GetServerInfo(bstrMachineName, _
    serverVersion)
public virtual void GetServerInfo(
    string bstrMachineName,
    out string serverVersion
)
public:
virtual void GetServerInfo(
    [InAttribute] String^ bstrMachineName, 
    [OutAttribute] String^% serverVersion
)
abstract GetServerInfo : 
        bstrMachineName:string * 
        serverVersion:string byref -> unit 
override GetServerInfo : 
        bstrMachineName:string * 
        serverVersion:string byref -> unit 
public function GetServerInfo(
    bstrMachineName : String, 
    serverVersion : String
)

Parameter

Implementiert

IDTSApplication100. . :: . .GetServerInfo(String, String%)