Свойство IsDeterministic
Возвращает или задает значение свойства типа Boolean, указывающее, детерминирована ли определяемая пользователем функция.
Пространство имен: 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 UserDefinedFunction
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
Значение типа Boolean, указывающее, детерминирована ли определяемая пользователем функция.
Если значение равно True, то определяемая пользователем функция детерминирована.
Если значение равно False, то определяемая пользователем функция не детерминирована.
Замечания
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.