이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Returns the SQL Server version number of the SQL Server product installed on the target server.
네임스페이스: 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
)
매개 변수
- bstrMachineName
유형: System.String
The name of the server hardware to check for the SQL Server product version.
- serverVersion
유형: System.String%
When this method returns, contains the version number of the SQL Server product. This parameter is passed uninitialized.
구현
IDTSApplication100.GetServerInfo(String, String%)