IVsProjectDataConnection.GetProjectSqlConnection(Object) Yöntem

Tanım

Projenin SQL bağlantısını alır.

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

Parametreler

pConnection
Object

dışı Microsoft.VisualStudio.IUnknown SQL bağlantısını temsil eden nesnenin arabirimine yönelik işaretçi.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Şunlara uygulanır