IVsDataEnvironment.Initialize(IServiceProvider) 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.
Initialize the IVsDataEnvironment interface with a specific IServiceProvider.
public:
int Initialize(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ pServiceProvider);
public:
int Initialize(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ pServiceProvider);
int Initialize(Microsoft::VisualStudio::OLE::Interop::IServiceProvider const & pServiceProvider);
public int Initialize (Microsoft.VisualStudio.OLE.Interop.IServiceProvider pServiceProvider);
abstract member Initialize : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
Public Function Initialize (pServiceProvider As IServiceProvider) As Integer
Parameters
- pServiceProvider
- IServiceProvider
Pointer to an IServiceProvider to use in initializing the interface.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.