Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Other versions are also available for the following:
ScriptingOptions..::.NoCommandTerminator Property

Gets or sets the Boolean property value that specifies whether individual Transact-SQL statements are delimited in the generated script.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Visual Basic (Declaration)
Public Property NoCommandTerminator As Boolean
	Get
	Set
Visual Basic (Usage)
Dim instance As ScriptingOptions
Dim value As Boolean

value = instance.NoCommandTerminator

instance.NoCommandTerminator = value
C#
public bool NoCommandTerminator { get; set; }
Visual C++
public:
property bool NoCommandTerminator {
	bool get ();
	void set (bool value);
}
F#
member NoCommandTerminator : bool with get, set
JScript
function get NoCommandTerminator () : boolean
function set NoCommandTerminator (value : boolean)

Property Value

Type: System..::.Boolean
A Boolean value that specifies whether individual Transact-SQL statements are delimited in the generated script.If True, individual Transact-SQL statements are not delimited in the generated script.If False (default), individual Transact-SQL statements are delimited by using the connection-specific command terminator.

The following code example specifies that individual Transact-SQL statements will not be delimited.

Visual Basic

Dim scOps As New ScriptingOptions()
scOps.IncludeHeaders = true

PowerShell

$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions
$scOps.IncludeHeaders = $TRUE
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker