Column.AnsiPaddingStatus Property

 

Gets a Boolean property value that specifies whether the ANSI_PADDING_ENABLED column option is active.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public bool AnsiPaddingStatus { get; }

Property Value

Type: System.Boolean

A Boolean value that specifies the whether the ASNI_PADDING_ENABLED column option is active.

If True, trailing blanks inserted into variable-length columns are not trimmed. Otherwise, False (default).

This property specifies whether trailing blanks in variable-length columns are trimmed.

System_CAPS_noteNote

The value of the AnsiPaddingStatus property is ignored by columns based on the UserDefinedTableType.

Return to top
Show: