共用方式為


Column.IsDeterministic 屬性

Gets or sets the Boolean property value that specifies whether the value of a computed column can change in subsequent invocations.

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

語法

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

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

屬性值

型別:System.Boolean
A Boolean value that specifies the whether a computed column can change between invocations.

備註

If the computed column contained a value that was calculated from the current date, for example, the column would not be deterministic. The value of the column would change as the date changes and therefore would be different for subsequent invocations.

請參閱

參考

Column 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

計算資料行的索引

CREATE TABLE (Transact-SQL)