IVsDataEnvironment::Initialize Method (IServiceProvider^)

 

Initialize the IVsDataEnvironment interface with a specific IServiceProvider.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int Initialize(
	IServiceProvider^ pServiceProvider
)

Parameters

pServiceProvider
Type: Microsoft.VisualStudio.OLE.Interop::IServiceProvider^

  Pointer to an IServiceProvider to use in initializing the interface.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: