Partager via


AnsiPaddingStatus propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property AnsiPaddingStatus As Boolean
    Get
'Utilisation
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

Valeur de la propriété

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

Notes

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

[!REMARQUE]

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