CodeAnalysisService.GetRules 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
서비스에서 로드한 규칙을 가져옵니다. 이러한 규칙의 현재 상태(사용, 사용 안 함, 규칙 문제 심각도)는 해당 ID 및 메타데이터와 같은 규칙에 대한 정보처럼 쿼리할 수 있습니다.
public System.Collections.Generic.IList<Microsoft.SqlServer.Dac.CodeAnalysis.RuleDescriptor> GetRules();
member this.GetRules : unit -> System.Collections.Generic.IList<Microsoft.SqlServer.Dac.CodeAnalysis.RuleDescriptor>
Public Function GetRules () As IList(Of RuleDescriptor)
반품
RuleDescriptor 서비스에서 검색한 규칙, 해당 메타데이터 및 상태를 나타내는 개체 목록
설명
규칙을 GetRuleLoadErrors() 로드하는 문제를 검색하려면 호출해야 합니다.