xSQL Schema Compare SDK for SQL Server version 12
ToString(String,Boolean) Method


The batch delimiter to be used instead of the default delimiter GO.
Indicates whether the batches that are not "real" T-SQL script should be included in the script. Sometimes a batch might contain warnings or other descriptive text.
Returns the T-SQL script with the specified settings.
Syntax
'Declaration
 
Public Overloads Function ToString( _
   ByVal batchDelimiter As System.String, _
   ByVal includeDummyFragments As System.Boolean _
) As System.String
public System.string ToString( 
   System.string batchDelimiter,
   System.bool includeDummyFragments
)
public: System.string* ToString( 
   System.string* batchDelimiter,
   System.bool includeDummyFragments
) 

Parameters

batchDelimiter
The batch delimiter to be used instead of the default delimiter GO.
includeDummyFragments
Indicates whether the batches that are not "real" T-SQL script should be included in the script. Sometimes a batch might contain warnings or other descriptive text.

Return Value

A string that contains the script.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Script Class
Script Members
Overload List

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback