共用方式為


IndexedColumn.IsComputed 屬性

Gets the Boolean property value that specifies whether the indexed column is computed or not.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsComputed As Boolean 
    Get
'用途
Dim instance As IndexedColumn 
Dim value As Boolean 

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

屬性值

型別:System.Boolean
A Boolean value that specifies whether the column value is the result of a computed expression.If True, the column is computed.If False (default), the column is not computed.

範例

建立、改變和移除索引

請參閱

參考

IndexedColumn 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

索引

CREATE INDEX (Transact-SQL)