Share via


DataConnectionFactory Class

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

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.DataConnectionFactory

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

Syntax

'Declaration
<GuidAttribute("654C847E-E6ED-4217-9ABF-A6208631F73F")> _
Public MustInherit Class DataConnectionFactory
[GuidAttribute("654C847E-E6ED-4217-9ABF-A6208631F73F")]
public abstract class DataConnectionFactory
[GuidAttribute(L"654C847E-E6ED-4217-9ABF-A6208631F73F")]
public ref class DataConnectionFactory abstract
[<AbstractClass>]
[<GuidAttribute("654C847E-E6ED-4217-9ABF-A6208631F73F")>]
type DataConnectionFactory =  class end
public abstract class DataConnectionFactory

The DataConnectionFactory type exposes the following members.

Constructors

  Name Description
Protected method DataConnectionFactory Class constructor.

Top

Methods

  Name Description
Public method CreateDataConnection Creates a new instance of the DataConnection class with the specified connection information.
Protected method CreateDataConnectionImpl This member supports the DDEX infrastructure and is not intended to be used directly from your code.
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.)
Public method MakeDataConnectionFrom Creates a new instance of the DataConnection class for the specified provider from an existing underlying provider object.
Protected method MakeDataConnectionFromImpl This member supports the DDEX infrastructure and is not intended to be used directly from your code.
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

Remarks

This class is a globally registered Visual Studio service.

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 Namespace