Свойство ScriptingOptions.NoCommandTerminator
Gets or sets the Boolean property value that specifies whether individual Transact-SQL statements are delimited in the generated script.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Property NoCommandTerminator As Boolean
Get
Set
'Применение
Dim instance As ScriptingOptions
Dim value As Boolean
value = instance.NoCommandTerminator
instance.NoCommandTerminator = value
public bool NoCommandTerminator { get; set; }
public:
property bool NoCommandTerminator {
bool get ();
void set (bool value);
}
member NoCommandTerminator : bool with get, set
function get NoCommandTerminator () : boolean
function set NoCommandTerminator (value : boolean)
Значение свойства
Тип: 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.NoCommandTerminator = true
PowerShell
$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions
$scOps.NoCommandTerminator = $TRUE
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo