Share via


IVsDataConnectionSupport Interface

Represents the interface that exposes methods and properties that enable you to work directly with connections to a data source.

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

Syntax

'Declaration
Public Interface IVsDataConnectionSupport _
    Inherits IServiceProvider, IDisposable
public interface IVsDataConnectionSupport : IServiceProvider, 
    IDisposable
public interface class IVsDataConnectionSupport : IServiceProvider, 
    IDisposable
type IVsDataConnectionSupport =  
    interface
        interface IServiceProvider
        interface IDisposable
    end
public interface IVsDataConnectionSupport extends IServiceProvider, IDisposable

The IVsDataConnectionSupport type exposes the following members.

Properties

  Name Description
Public property ConnectionString When implemented by a class, gets or sets a string representation of information required to establish a specified data source connection.
Public property ConnectionTimeout When implemented by a class, gets or sets the amount of time to wait when establishing a connection before terminating the attempt and generating a time-out error.
Public property ProviderObject When implemented by a class, gets the underlying provider object for the specified connection.
Public property State When implemented by a class, gets the state of the data connection.

Top

Methods

  Name Description
Public method Close When implemented by a class, closes the specified connection.
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method GetService Gets the service object of the specified type. (Inherited from IServiceProvider.)
Public method Initialize When implemented by a class, initializes the specified connection, optionally from an existing data provider object.
Public method Open When implemented by a class, opens the specified data connection.

Top

Remarks

This interface has a base implementation in the DDEX Framework.

See Also

Reference

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace