GetServerInfo 方法
此 API 支持 基础结构,但不能通过代码直接使用。
For more information, see Application.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Public Overridable Sub GetServerInfo ( _
bstrMachineName As String, _
<OutAttribute> ByRef serverVersion As String _
)
用法
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
)