Freigeben über


AnsiPadding-Eigenschaft

Gets or sets the Boolean property value that specifies whether trailing blanks are inserted (padded) or removed (trimmed) in char, varchar, binary, and varbinary columns.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property AnsiPadding As Boolean
    Get
    Set
'Usage
Dim instance As UserOptions
Dim value As Boolean

value = instance.AnsiPadding

instance.AnsiPadding = value
[SfcPropertyAttribute]
public bool AnsiPadding { get; set; }
[SfcPropertyAttribute]
public:
property bool AnsiPadding {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute>]
member AnsiPadding : bool with get, set
function get AnsiPadding () : boolean
function set AnsiPadding (value : boolean)

Eigenschaftenwert

Typ: System. . :: . .Boolean
A Boolean value that specifies the whether trailing blanks are inserted or removed in char, varchar, binary, and varbinary columns.
If True, trailing blanks are inserted following the value to fill the column. Trailing blanks on values are not trimmed.
If False (default), trailing blanks are not inserted into the column. Trailing blanks on values that are inserted into the column are trimmed.