Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Generates a text representing the specified script fragment.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Sub GenerateScript ( _
scriptFragment As TSqlFragment, _
writer As TextWriter _
)
'Usage
Dim instance As SqlScriptGenerator
Dim scriptFragment As TSqlFragment
Dim writer As TextWriter
instance.GenerateScript(scriptFragment, _
writer)
public void GenerateScript(
TSqlFragment scriptFragment,
TextWriter writer
)
public:
void GenerateScript(
TSqlFragment^ scriptFragment,
TextWriter^ writer
)
member GenerateScript :
scriptFragment:TSqlFragment *
writer:TextWriter -> unit
public function GenerateScript(
scriptFragment : TSqlFragment,
writer : TextWriter
)
Parameters
- scriptFragment
Type: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
The fragment of script to generate tokens for.
- writer
Type: System.IO.TextWriter
A text writer to write the text to.