SqlScriptGenerator Class

Represents a Sql-specific script generator.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.SqlScriptGenerator
    Microsoft.SqlServer.TransactSql.ScriptDom.Sql100ScriptGenerator
    Microsoft.SqlServer.TransactSql.ScriptDom.Sql110ScriptGenerator
    Microsoft.SqlServer.TransactSql.ScriptDom.Sql80ScriptGenerator
    Microsoft.SqlServer.TransactSql.ScriptDom.Sql90ScriptGenerator

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public MustInherit Class SqlScriptGenerator
'Usage
Dim instance As SqlScriptGenerator
public abstract class SqlScriptGenerator
public ref class SqlScriptGenerator abstract
[<AbstractClassAttribute>]
type SqlScriptGenerator =  class end
public abstract class SqlScriptGenerator

The SqlScriptGenerator type exposes the following members.

Constructors

  Name Description
Protected method SqlScriptGenerator Initializes a new instance of the SqlScriptGenerator class.

Top

Properties

  Name Description
Public property Options Gets the sql script generator options.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateScript(TSqlFragment, TextWriter) Generates a text representing the specified script fragment.
Public method GenerateScript(TSqlFragment, String%) Generates a text representing the specified script fragment.
Public method GenerateTokens Generates a list of tokens representing the script generated by the specified script fragment.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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.SqlServer.TransactSql.ScriptDom Namespace