Column.AnsiPaddingStatus Property

Gets or sets 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)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property AnsiPaddingStatus As Boolean
    Get
'Usage
Dim instance As Column
Dim value As Boolean

value = instance.AnsiPaddingStatus
[SfcPropertyAttribute]
public bool AnsiPaddingStatus { get; }
[SfcPropertyAttribute]
public:
property bool AnsiPaddingStatus {
    bool get ();
}
[<SfcPropertyAttribute>]
member AnsiPaddingStatus : bool
function get AnsiPaddingStatus () : boolean

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).

Remarks

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

Note

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