Explicit 변환 (ServerVersion to Version)
네임스페이스: Microsoft.SqlServer.Management.Common
어셈블리: Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo
구문
‘선언
Public Shared Narrowing Operator CType ( _
serverVersion As ServerVersion _
) As Version
‘사용 방법
Dim input As ServerVersion
Dim output As Version
output = CType(input, Version)
public static explicit operator Version (
ServerVersion serverVersion
)
static explicit operator Version^ (
ServerVersion^ serverVersion
)
Jscript는 사용자 지정 캐스트의 사용을 지원하지만 새로운 사용자 지정 캐스트의 선언은 지원하지 않습니다.
매개 변수
- serverVersion
형식: Microsoft.SqlServer.Management.Common. . :: . .ServerVersion