Share via


AgnosticDatabaseConfigurationExtender Class

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..::..AgnosticDatabaseConfigurationExtender

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

Syntax

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

The AgnosticDatabaseConfigurationExtender type exposes the following members.

Properties

  Name Description
Public property ExtenderDeployScriptFileName The deploy script filename on the Debug Property page when using project settings
Public property ExtenderOutputPath The output path on the Build properties page
Public property ExtenderSuppressTSqlWarnings Gets or sets {insert text here}.
Public property ExtenderTargetConnectionString Gets or sets {insert text here}.
Public property ExtenderTreatTSqlWarningsAsErrors 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.)
Public method GetAttributes
Public method GetClassName
Public method GetComponentName
Protected method GetConfigurationPropertyAsBool Try to get the configuration property as a bool. If it fails to parse return 'defaultValue'. (Inherited from DatabaseProjectConfigurationExtender.)
Public method GetConverter
Public method GetDefaultEvent
Public method GetDefaultProperty
Public method GetEditor
Public method GetEvents() () () ()
Public method GetEvents(array<Attribute> [] () [] [])
Public method GetHashCode (Inherited from Object.)
Public method GetProperties() () () ()
Public method GetProperties(array<Attribute> [] () [] [])
Public method GetPropertyOwner
Public method GetType (Inherited from Object.)
Public method IsPropertyHidden This interface allows us to hide certain properties dynamically. For example, in SQL 2000 CLR integration is disabled. Note that we implement the interface for IFilterProperties without exposing the fact that we do. This is because the AutomationExtenderManager (see... \\cpvsbuild\drops\orcas\main\raw\20402.00\sources\wizard\vsdesigner\designer\microsoft\VisualStudio\Editors\PropertyPages\AutomationExtenderManager.cs) only uses this interface to filter the selected object (the properties of the DatabaseProjectNode), not any of it's extenders. We still use the interface to build our localizable property descriptors and choose to construct a read/write or a readonly one.
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

Remarks

This class and its members are reserved for internal use and are not intended to be used in your code. NOTE : This class must be ComVisible and public because it's used in the VS property window.

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