共用方式為


Column.AnsiPaddingStatus 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property AnsiPaddingStatus As Boolean 
    Get
'用途
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

屬性值

型別: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.

[!附註]

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

範例

使用資料庫物件

請參閱

參考

Column 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE TABLE (Transact-SQL)