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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabaseProjectNode Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace