ExportCodeAnalysisRuleAttribute Class

SQL Server 2014
 

Updated: April 20, 2017

Represents an 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.

Namespace:   Microsoft.SqlServer.Dac.CodeAnalysis
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

System::Object
  System::Attribute
    System.ComponentModel.Composition::ExportAttribute
      Microsoft.SqlServer.Dac.Extensibility::ExportStandardMetadataAttribute
        Microsoft.SqlServer.Dac.CodeAnalysis::ExportCodeAnalysisRuleAttribute

[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
[MetadataAttributeAttribute]
public ref class ExportCodeAnalysisRuleAttribute : ExportStandardMetadataAttribute, 
	ISqlAnalysisRuleMetadata, IStandardMetadata

NameDescription
System_CAPS_pubmethodExportCodeAnalysisRuleAttribute(String^, String^)

Initializes a new instance of the ExportCodeAnalysisRuleAttribute class.

NameDescription
System_CAPS_pubpropertyCategory

Gets or sets the category of the rule.

System_CAPS_pubpropertyContractName

(Inherited from ExportAttribute.)

System_CAPS_pubpropertyContractType

(Inherited from ExportAttribute.)

System_CAPS_pubpropertyDescription

Gets or sets 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.

System_CAPS_pubpropertyDisplayName

(Inherited from ExportStandardMetadataAttribute.)

System_CAPS_pubpropertyId

(Inherited from ExportStandardMetadataAttribute.)

System_CAPS_pubpropertyPlatformCompatibility

(Inherited from ExportStandardMetadataAttribute.)

System_CAPS_pubpropertyRuleScope

Gets or sets the rule scope.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

System_CAPS_pubpropertyVersion

(Inherited from ExportStandardMetadataAttribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: