Dela via


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)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property AnsiPaddingStatus As Boolean
    Get
'Usage
Dim instance As Column
Dim value As Boolean

value = instance.AnsiPaddingStatus
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool AnsiPaddingStatus { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool AnsiPaddingStatus {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
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.