IVsProjectDataConnection.GetProjectSqlConnection(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the SQL connection for the project.
public:
int GetProjectSqlConnection([Runtime::InteropServices::Out] System::Object ^ % pConnection);
int GetProjectSqlConnection([Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pConnection);
public int GetProjectSqlConnection (out object pConnection);
abstract member GetProjectSqlConnection : obj -> int
Public Function GetProjectSqlConnection (ByRef pConnection As Object) As Integer
Parameters
- pConnection
- Object
[out] Pointer to the Microsoft.VisualStudio.IUnknown interface of the object representing the SQL connection.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.