View.IsIndexable 属性

Gets the Boolean property that specifies whether it is possible to place an index on the view.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsIndexable As Boolean 
    Get
用法
Dim instance As View 
Dim value As Boolean 

value = instance.IsIndexable
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsIndexable { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsIndexable {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IsIndexable : bool
function get IsIndexable () : boolean

属性值

类型:System.Boolean
A Boolean value that specifies whether an index can be placed on the view.If True, an index can be placed on the view.If False (default), an index cannot be placed on the view.

示例

创建、更改和删除视图

请参阅

参考

View 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

设计和实现视图

CREATE VIEW (Transact-SQL)