Share via


Propriété IsDeterministic

Obtient ou définit la valeur de la propriété Boolean qui spécifie si la fonction définie par l'utilisateur est déterministe.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsDeterministic As Boolean
    Get
'Utilisation
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

Valeur de propriété

Type : System. . :: . .Boolean
Valeur de la propriété Boolean qui spécifie si la fonction définie par l'utilisateur est déterministe ou non.
Si la valeur est True, la fonction définie par l'utilisateur est déterministe.
Si la valeur est False (valeur par défaut), la fonction définie par l'utilisateur n'est pas déterministe.

Notes

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.