UserOptions.AnsiPadding 属性
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.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Deploy, _
"true")> _
Public Property AnsiPadding As Boolean
Get
Set
用法
Dim instance As UserOptions
Dim value As Boolean
value = instance.AnsiPadding
instance.AnsiPadding = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy,
"true")]
public bool AnsiPadding { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Deploy,
L"true")]
public:
property bool AnsiPadding {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy,
"true")>]
member AnsiPadding : bool with get, set
function get AnsiPadding () : boolean
function set AnsiPadding (value : boolean)
属性值
类型: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.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间