TSqlModelUtils.CalculatePlatformCompatibility(SqlServerVersion) 메서드

정의

SqlServerVersion 일치하는 열거형으로 TSqlPlatformCompatibility 매핑합니다. 플랫폼 호환성을 사용하여 해당 플랫폼을 지원하지 않는 확장(예: 코드 분석 규칙)을 필터링할 수 있습니다.

public static Microsoft.SqlServer.Dac.Extensibility.TSqlPlatformCompatibility CalculatePlatformCompatibility(Microsoft.SqlServer.Dac.Model.SqlServerVersion version);
static member CalculatePlatformCompatibility : Microsoft.SqlServer.Dac.Model.SqlServerVersion -> Microsoft.SqlServer.Dac.Extensibility.TSqlPlatformCompatibility
Public Shared Function CalculatePlatformCompatibility (version As SqlServerVersion) As TSqlPlatformCompatibility

매개 변수

version
SqlServerVersion

A ( 예:

반품

TSqlPlatformCompatibility 확장에 필요한 호환성 수준을 나타냅니다. 특정 버전이 메서드에 전달되지 않은 경우 기본값은 모든 확장이 로드되도록 사용하는 All 것입니다.

적용 대상