Share via


StaticCodeAnalysisExtender Class

This class and its members are reserved for internal use and are not intended to be used in your code. This extends the IDatabaseProjectConfiguration object to provide additional properties. Note that this must be public in order for the properties window to "see" them.

This API is not CLS-compliant. 

Inheritance Hierarchy

System..::..Object
  Microsoft.VisualStudio.Data.Tools.Package.Project..::..DatabaseProjectExtenderBase
    Microsoft.VisualStudio.Data.Tools.Package.Project..::..DatabaseProjectConfigurationExtender
      Microsoft.VisualStudio.Data.Tools.Package.Internal..::..StaticCodeAnalysisExtender

Namespace:  Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly:  Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class StaticCodeAnalysisExtender _
    Inherits DatabaseProjectConfigurationExtender
'Usage
Dim instance As StaticCodeAnalysisExtender
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public sealed class StaticCodeAnalysisExtender : DatabaseProjectConfigurationExtender
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public ref class StaticCodeAnalysisExtender sealed : public DatabaseProjectConfigurationExtender
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
[<ComVisibleAttribute(true)>]
type StaticCodeAnalysisExtender =  
    class
        inherit DatabaseProjectConfigurationExtender
    end
public final class StaticCodeAnalysisExtender extends DatabaseProjectConfigurationExtender

The StaticCodeAnalysisExtender type exposes the following members.

Properties

  Name Description
Public property RunSqlCodeAnalysis Gets or sets {insert text here}.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize Finalizes this object by notifying the site that this extender is invalid (Inherited from DatabaseProjectExtenderBase.)
Protected method GetConfigurationPropertyAsBool Try to get the configuration property as a bool. If it fails to parse return 'defaultValue'. (Inherited from DatabaseProjectConfigurationExtender.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString It just so happens that object.ToString() has the right interface to become an IDispatch property, but we don't want to create a ProjectExtender.ToString property, so we need to explicitly implment this method in order to hide it from COM. (Inherited from DatabaseProjectExtenderBase.)

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace