ExportCodeAnalysisRuleAttribute Class
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.
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
System::Attribute
System.ComponentModel.Composition::ExportAttribute
Microsoft.SqlServer.Dac.Extensibility::ExportStandardMetadataAttribute
Microsoft.SqlServer.Dac.CodeAnalysis::ExportCodeAnalysisRuleAttribute
| Name | Description | |
|---|---|---|
![]() | ExportCodeAnalysisRuleAttribute(String^, String^) | Initializes a new instance of the ExportCodeAnalysisRuleAttribute class. |
| Name | Description | |
|---|---|---|
![]() | Category | Gets or sets the category of the rule. |
![]() | ContractName | (Inherited from ExportAttribute.) |
![]() | ContractType | (Inherited from ExportAttribute.) |
![]() | Description | 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. |
![]() | DisplayName | (Inherited from ExportStandardMetadataAttribute.) |
![]() | Id | (Inherited from ExportStandardMetadataAttribute.) |
![]() | PlatformCompatibility | (Inherited from ExportStandardMetadataAttribute.) |
![]() | RuleScope | Gets or sets the rule scope. |
![]() | TypeId | (Inherited from Attribute.) |
![]() | Version | (Inherited from ExportStandardMetadataAttribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Attribute.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object^) | (Inherited from Attribute.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute::GetIDsOfNames(Guid%, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfoCount(UInt32%) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::Invoke(UInt32, Guid%, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




