Database.AnsiPaddingEnabled Property
SQL Server 2012
Gets or sets a value that specifies whether the ANSI_PADDING_ENABLED database option is active.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design,
"false")>]
abstract AnsiPaddingEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design,
"false")>]
override AnsiPaddingEnabled : bool with get, set
Property Value
Type: System.BooleanA Boolean value that specifies whether the ANSI_PADDING_ENABLED database option is active. If True, trailing blanks inserted into variable-length columns are not trimmed. If False (default), blanks inserted into variable-length columns are trimmed.
