ExportCodeAnalysisRuleAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute defining a rule export, and the metadata about that rule. Implements ISqlAnalysisRuleMetadata, which should be used on the importer side to ensure type consistency
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public class ExportCodeAnalysisRuleAttribute : Microsoft.SqlServer.Dac.Extensibility.ExportStandardMetadataAttribute, Microsoft.SqlServer.Dac.CodeAnalysis.ISqlAnalysisRuleMetadata
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type ExportCodeAnalysisRuleAttribute = class
inherit ExportStandardMetadataAttribute
interface ISqlAnalysisRuleMetadata
interface IStandardMetadata
Public Class ExportCodeAnalysisRuleAttribute
Inherits ExportStandardMetadataAttribute
Implements ISqlAnalysisRuleMetadata
- Inheritance
- Attributes
- Implements
Constructors
ExportCodeAnalysisRuleAttribute(String, String) |
Constructor |
Properties
Category | |
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. This field is localizable, but this should be done be subclassing ExportCodeAnalysisRuleAttribute and overriding the Description property. |
DisplayName | (Inherited from ExportStandardMetadataAttribute) |
Id | (Inherited from ExportStandardMetadataAttribute) |
PlatformCompatibility | (Inherited from ExportStandardMetadataAttribute) |
RuleScope | |
Version | (Inherited from ExportStandardMetadataAttribute) |