Bagikan melalui


IDatabaseProjectReferenceController Interface

This extension point controls how references are added to the database project system.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Interface IDatabaseProjectReferenceController _
    Inherits IExtension
[CLSCompliantAttribute(false)]
public interface IDatabaseProjectReferenceController : IExtension
[CLSCompliantAttribute(false)]
public interface class IDatabaseProjectReferenceController : IExtension
[<CLSCompliantAttribute(false)>]
type IDatabaseProjectReferenceController =  
    interface
        interface IExtension
    end
public interface IDatabaseProjectReferenceController extends IExtension

The IDatabaseProjectReferenceController type exposes the following members.

Properties

  Name Description
Public property AllowDatabaseReferences Gets a value that indicates whether this controller allows database references.
Public property AllowProjectReferences Gets a value that indicates whether this controller allows project references.

Top

Methods

  Name Description
Public method DoDefaultAction Handles the default action for the argument node. For example, the database schema provider for SQL Server opens the references property page through OpenProjectDesigner).
Public method GetCaption Returns the caption for this reference node.
Public method GetReferenceData When a reference changes, this method is used to break the reference into CustomSchemaData. This data is then added or removed from the model.
Public method Initialize Initializes this extension.
Public method IsArtifactReference Returns true if the fileName represents a file format that is specific to a database schema provider (DSP).
Public method IsValidReference Returns true if this is a valid reference.
Public method KeyOutputBuildVariables Returns a list of build variables that affect the key output for the project.
Public method RetrieveDatabaseReferenceSelectorData Returns the selector data that is required to create a new database reference.
Public method RetrieveDatabaseReferenceSelectorDataResult Returns the result from the RetrieveDatabaseReferenceSelectorData call.

Top

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace