Share via


IDatabaseProjectNode.AddDatabaseReference Method

Brings up the Add Database Reference dialog box if and only if the project has an IDatabaseProjectReferenceController extension.

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

Syntax

'Declaration
Function AddDatabaseReference As Integer
int AddDatabaseReference()
int AddDatabaseReference()
abstract AddDatabaseReference : unit -> int 
function AddDatabaseReference() : int

Return Value

Type: System.Int32
HRESULT.

.NET Framework Security

See Also

Reference

IDatabaseProjectNode Interface

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