ServerVersion 클래스

The ServerVersion class represents the version information for the server.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Common.ServerVersion

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)

구문

‘선언
<SerializableAttribute> _
Public Class ServerVersion
‘사용 방법
Dim instance As ServerVersion
[SerializableAttribute]
public class ServerVersion
[SerializableAttribute]
public ref class ServerVersion
[<SerializableAttribute>]
type ServerVersion =  class end
public class ServerVersion

ServerVersion 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 ServerVersion(Int32, Int32) Initializes a new instance of the ServerVersion class.
공용 메서드 ServerVersion(Int32, Int32, Int32) Initializes a new instance of the ServerVersion class.

맨 위로 이동

속성

  이름 설명
공용 속성 BuildNumber Gets the build number part of the server version information.
공용 속성 Major Gets the build number part of the server version information.
공용 속성 Minor Gets the build number part of the server version information.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString Returns the object in string format. (Object.ToString()을(를) 재정의함)

맨 위로 이동

연산자

  이름 설명
공용 연산자정적 멤버 Explicit(ServerVersion to Version) Creates a system version object representing the sercer version,

맨 위로 이동

주의

The ServerVersion class is served by the ConnectionManager class.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Common 네임스페이스