共用方式為


ISqlAnalysisRuleMetadata Interface

Definition

The metadata describing a rule - its namespace, id, scope etc.

public interface ISqlAnalysisRuleMetadata : Microsoft.SqlServer.Dac.Extensibility.IStandardMetadata
type ISqlAnalysisRuleMetadata = interface
    interface IStandardMetadata
Public Interface ISqlAnalysisRuleMetadata
Implements IStandardMetadata
Derived
Implements

Properties

Category

(Optional) Category used to group the rule in Visual Studio UI. This should never be localized

Description

The description of the rule. This should be a short human readable description of what the rule is intended to warn against or block.

DisplayName (Inherited from IStandardMetadata)
Id (Inherited from IStandardMetadata)
PlatformCompatibility (Inherited from IStandardMetadata)
RuleScope

The scope of this rule. Choose between Element and Model. Note that for element scoped rules, the SupportedElementTypes property must return one or more element types that can are supported for analysis by the rule

Version (Inherited from IStandardMetadata)

Applies to