See Also

ExecutionBlock Class  | RedGate.SQL.Shared Namespace

See Also RedGate.SQL.Shared Send comments on this topic.

ExecutionBlock Class Members

RedGate.SQL.Shared Namespace : ExecutionBlock Class (RedGate.SQL.Shared)

ExecutionBlock overview

Public Constructors

Public Constructor ExecutionBlock Constructor Constructor.

Public Properties

Public Property BatchCount The number of batches.
Public Property CharCount The number of characters in the ExecutionBlock.
Public Property LineCount The number of lines.
Public Property MaxLineLength The maximum length of a line.

Public Methods

Public Method AddBatch Overloaded. Adds a batch of SQL code.
Public Method AddBatchMarker Overloaded. Adds a default BatchMarker.
Public Method Dispose Disposes of the object.
Public Method GetBatch Gets a batch of SQL.
Public Method GetFileStream Returns a stream to the underlying SQL text file.
Public Method GetLine Gets a line of SQL.
Public Method GetString Returns the contents of the ExecutionBlock.
Public Method SaveToFile Saves a copy of the ExecutionBlock to a text file with the given encoding.
Public Method StopWriting Indicates that writing has finished.
Public Method ToString Overridden. Returns the contents of the ExecutionBlock.

See Also

ExecutionBlock Class  | RedGate.SQL.Shared Namespace

 

 


© 2003 - 2007 Red Gate Software Ltd. All Rights Reserved.