Metoda ApplicationClass.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 Application.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Runtime.Wrapper
Zestaw: Microsoft.SqlServer.DTSRuntimeWrap (w Microsoft.SqlServer.DTSRuntimeWrap.dll)
Składnia
'Deklaracja
Public Overridable Sub GetServerInfo ( _
bstrMachineName As String, _
<OutAttribute> ByRef serverVersion As String _
)
'Użycie
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
)
Implementacje
Zobacz także