Share via


IndexedColumn.IsComputed Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsComputed As Boolean 
    Get
'Usage
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

Property Value

Type: 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.

Examples

Creating, Altering, and Removing Indexes

See Also

Reference

IndexedColumn Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Indexes

CREATE INDEX (Transact-SQL)