GetServerInfo 方法
此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。
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
)