다음을 통해 공유


IsDeterministic 속성

Gets or sets the Boolean property value that specifies whether the user-defined function is deterministic.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute> _
Public ReadOnly Property IsDeterministic As Boolean
    Get
‘사용 방법
Dim instance As UserDefinedFunction
Dim value As Boolean

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

속성 값

형식: System. . :: . .Boolean
A Boolean value that specifies the whether the user-defined function is deterministic or not.
If True, the user-defined function is deterministic.
If False (default), the user-defined function is not deterministic.

주의

A computed column can be used as a key column in an index or as part of any primary key or unique constraint, if the computed column value is defined by a deterministic expression and the data type of the result is allowed in indexed columns.

An application can use this property to determine if a computed column that depends on a user-defined function can be used in an index.

예제

속성 설정