Share via


ScriptOption.AnsiPadding Property

Gets an object that specifies whether the generated script contains the Transact-SQL statements SET ANSI-PADDING ON and SET ANSI-PADDING OFF before and after the CREATE TABLE statement, respectively.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property AnsiPadding As ScriptOption
    Get
'Usage
Dim value As ScriptOption

value = ScriptOption.AnsiPadding
public static ScriptOption AnsiPadding { get; }
public:
static property ScriptOption^ AnsiPadding {
    ScriptOption^ get ();
}
static member AnsiPadding : ScriptOption
static function get AnsiPadding () : ScriptOption

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the AnsiPadding in the scripting options.

Examples

Scripting