dotConnect for SQL Server Documentation
Devart.Common Namespace / DbScript Class
Properties Methods Events

In This Topic
    DbScript Class Members
    In This Topic

    The following tables list the members exposed by DbScript.

    Public Properties
     NameDescription
    Public PropertyGets or sets the wait time before terminating an attempt to execute a script and generating an error.  
    Public PropertyGets or sets the System.Data.IDbConnection used by this instance of the DbScript.  
    Public PropertyGets the System.ComponentModel.IContainer that contains the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets the name of component that will be displayed in dbMonitor application.  
    Public PropertyGets or sets script text.  
    Public PropertyGets or sets the System.ComponentModel.ISite of the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component)
    Public PropertyGets the collection of statements that make up the script.  
    Top
    Public Methods
     NameDescription
    Public MethodTries to cancel the execution of a DbScript descendant.  
    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 MethodExecutes the script specified in ScriptText property.  
    Public MethodExecutes the next statement from the script.  
    Public MethodRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
    Public MethodObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Prepares a stream to be executed as SQL script.  
    Public MethodPositions ExecuteNext method on the first statement in the script.  
    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
    Public Events
     NameDescription
    Public EventOccurs when the component is disposed by a call to the System.ComponentModel.Component.Dispose method. (Inherited from System.ComponentModel.Component)
    Public EventOccurs when a SQL statement within script has produced an error.  
    Public EventOccurs when a SQL statement within script has successfully executed.  
    Top
    See Also