Freigeben über


IVsDataConnectionFactory Interface

Provides the ability to create stand-alone instances of the IVsDataConnection class.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
<GuidAttribute("C42DEB5D-2382-4537-842C-B50E2A61BDE2")> _
Public Interface IVsDataConnectionFactory
[GuidAttribute("C42DEB5D-2382-4537-842C-B50E2A61BDE2")]
public interface IVsDataConnectionFactory
[GuidAttribute(L"C42DEB5D-2382-4537-842C-B50E2A61BDE2")]
public interface class IVsDataConnectionFactory
[<GuidAttribute("C42DEB5D-2382-4537-842C-B50E2A61BDE2")>]
type IVsDataConnectionFactory =  interface end
public interface IVsDataConnectionFactory

The IVsDataConnectionFactory type exposes the following members.

Methods

  Name Description
Public method CreateConnection Initializes a new instance of the IVsDataConnection class with the specified connection information.
Public method MakeConnectionFrom Initializes a new instance of the IVsDataConnection class for the specified provider from an existing underlying provider object.

Top

Remarks

This is a globally registered Visual Studio service.

See Also

Reference

Microsoft.VisualStudio.Data.Services Namespace