dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnection Class

In This Topic
    SqlConnection Class Methods
    In This Topic

    For a list of all members of this type, see SqlConnection members.

    Public Methods
     NameDescription
    Public MethodStarts an asynchronous invocation of an Open method. (Inherited from Devart.Common.DbConnectionBase)
    Public MethodOverloaded. Starts a database transaction.  
    Public MethodOverridden. Changes the current database.  
    Public Methodstatic (Shared in Visual Basic)Changes the password for the user specified in the connection string.  
    Public Methodstatic (Shared in Visual Basic)Clears all pools associated with the connection.  
    Public Methodstatic (Shared in Visual Basic)Clears the pool matching ConnectionString of provided SqlConnection object.  
    Public MethodCreates a new object that is a copy of the current instance.  
    Public MethodCloses the connection to the database. This is the preferred method of closing any open connection. (Inherited from Devart.Common.DbConnectionBase)
    Public MethodCreates and returns a SqlCommand object associated with the SqlConnection.  
    Public MethodCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
    Public MethodReleases all resources used by the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
    Public MethodEnds an asynchronous invocation of the Open method. (Inherited from Devart.Common.DbConnectionBase)
    Public MethodEnlists in the specified transaction as a distributed transaction.  
    Public MethodOverridden. Enlists in the specified transaction.  
    Public MethodRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Returns list of metadata collections and number of restrictions for a collection. (Inherited from Devart.Common.DbConnectionBase)
    Public MethodObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
    Public MethodOverridden. Opens a SQL Server connection with the property settings specified by the ConnectionString.  
    Public MethodResets all values to 0 if statistics gathering is enabled.  
    Public MethodReturns a collection of statistics at the moment the method is called.  
    Public MethodReturns a System.String containing the name of the System.ComponentModel.Component, if any. This method should not be overridden. (Inherited from System.ComponentModel.Component)
    Top
    See Also