CodeAnalysisService.GetRules 메서드

정의

서비스에서 로드한 규칙을 가져옵니다. 이러한 규칙의 현재 상태(사용, 사용 안 함, 규칙 문제 심각도)는 해당 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() 로드하는 문제를 검색하려면 호출해야 합니다.

적용 대상