Compartir a través de


DataConnectionUIConnector Class

Provides the ability to customize the behavior of opening a connection when in the context of a connection UI (for example, the data connection dialog box).

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Framework.DataConnectionUIConnector

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

Syntax

'Declaración
Public Class DataConnectionUIConnector _
    Implements IVsDataConnectionUIConnector, IVsDataSiteableObject(Of IServiceProvider)
public class DataConnectionUIConnector : IVsDataConnectionUIConnector, 
    IVsDataSiteableObject<IServiceProvider>
public ref class DataConnectionUIConnector : IVsDataConnectionUIConnector, 
    IVsDataSiteableObject<IServiceProvider^>
type DataConnectionUIConnector =  
    class
        interface IVsDataConnectionUIConnector
        interface IVsDataSiteableObject<IServiceProvider>
    end
public class DataConnectionUIConnector implements IVsDataConnectionUIConnector, IVsDataSiteableObject<IServiceProvider>

The DataConnectionUIConnector type exposes the following members.

Constructors

  Name Description
Public method DataConnectionUIConnector Initializes a new instance of the DataConnectionUIConnector class.

Top

Properties

  Name Description
Protected property ServiceProvider Gets the service provider.

Top

Methods

  Name Description
Public method Connect Opens the data connection in the context of a connection UI (for example, the data connection dialog box).
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IVsDataSiteableObject<IServiceProvider>.Site Gets the site.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Data.Framework Namespace