Compartir a través de


UserDefinedFunction.IsDeterministic Property

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property IsDeterministic As Boolean
public bool IsDeterministic { get; }
public:
property bool IsDeterministic {
    bool get ();
}
/** @property */
public boolean get_IsDeterministic ()
public function get IsDeterministic () : boolean

Valor de propiedad

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.

Notas

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.

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Get and Set a Property in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

UserDefinedFunction Class
UserDefinedFunction Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Funciones definidas por el usuario (motor de base de datos)
CREATE FUNCTION (Transact-SQL)