dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniConnection Class
Properties Methods Events

In This Topic
    UniConnection Class Members
    In This Topic

    The following tables list the members exposed by UniConnection.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the UniConnection class.  
    Top
    Public Properties
     NameDescription
    Public PropertyOverridden. Gets or sets the string used to open a server connection.  
    Public PropertyOverridden. Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets the name of the current database or the database to be used once a connection is open.  
    Public PropertyGets or sets name of the data source.  
    Public PropertyIndicates whether the connection is enlisted in a distributed transaction. (Inherited from Devart.Common.DbConnectionBase)
    Public PropertyGets collection of macros used in UniSQL statements.  
    Public PropertyGets or sets the name of component that will be displayed in DBMonitor application.  
    Public PropertyGets or sets a form or other container that the Devart.Common.DbConnectionBase instance belongs to. (Inherited from Devart.Common.DbConnectionBase)
    Public PropertyGets or sets the user's password to connect.  
    Public PropertyGets or sets the port to which to connect.  
    Public PropertyGets or sets the name of the ADO.NET data provider used to access actual data.  
    Public PropertyReturns the IUniProvider interface, which allows to manipulate any provider in run time.  
    Public PropertyOverridden. Gets a string containing the version of the instance of server to which the client is connected.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets the current state of the connection.  
    Public PropertyGets or sets the name of the user to connect.  
    Top
    Public Methods
     NameDescription
    Public MethodStarts an asynchronous invocation of an Open method. (Inherited from Devart.Common.DbConnectionBase)
    Public MethodOverloaded. Begins a transaction at the database.  
    Public MethodOverridden. Changes the current database associated with an open UniConnection.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Clears all pools associated with the connection.  
    Public Methodstatic (Shared in Visual Basic)Clears the pool matching ConnectionString of provided UniConnection object.  
    Public MethodCreates a new object that is a copy of the current instance.  
    Public MethodOverridden. Closes the connection to the database. This is the preferred method of closing any open connection.  
    Public MethodCommits the database transaction.  
    Public MethodCreates and returns a UniCommand object associated with the UniConnection.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.ComponentModel.Component)
    Public MethodEnds an asynchronous invocation of the Devart.Common.DbConnection.Open method. (Inherited from Devart.Common.DbConnectionBase)
    Public MethodOverridden. Enlists in the specified transaction.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Returns list of metadata collections and number of restrictions for a collection. (Inherited from Devart.Common.DbConnectionBase)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverridden. Opens a database connection with the property settings specified by the ConnectionString.  
    Public MethodRolls back a transaction from a pending state.  
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventOccurs when server returns a warning or informational message.  
    Public EventOccurs when the state of the connection changes.  
    Public EventOccurs when the state of the transaction is changed. (Inherited from Devart.Common.DbConnectionBase)
    Public EventOccurs when the state of the transaction is changing. (Inherited from Devart.Common.DbConnectionBase)
    Top
    See Also