IVsProjectDataConnection.GetProjectSqlConnection(Object) Method

Definition

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.

Applies to