Column.IsSparse 属性

Gets or sets the Boolean property value that specifies whether this is a sparse column. For more information about sparse columns, see 使用稀疏列.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property IsSparse As Boolean 
    Get 
    Set
用法
Dim instance As Column 
Dim value As Boolean 

value = instance.IsSparse

instance.IsSparse = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool IsSparse { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property bool IsSparse {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member IsSparse : bool with get, set
function get IsSparse () : boolean 
function set IsSparse (value : boolean)

属性值

类型:System.Boolean
A Boolean property value that specifies whether column value is sparse. If True, the column is sparse. Otherwise, False (default).

示例

使用数据库对象

请参阅

参考

Column 类

Microsoft.SqlServer.Management.Smo 命名空间