UserDefinedFunction.IsDeterministic Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
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

Eigenschaftswert

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.

Hinweise

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.

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiel

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

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

Benutzerdefinierte Funktionen (Datenbankmodul)
CREATE FUNCTION (Transact-SQL)