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)