Udostępnij za pośrednictwem


UserDefinedFunction.Checks Property

Represents a collection of Check objects. Each Check object represents a check constraint defined on the user-defined function.

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

Syntax

'Deklaracja
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, GetType(Check))> _
Public ReadOnly Property Checks As CheckCollection
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, typeof(Check))] 
public CheckCollection Checks { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, typeof(Check))] 
public:
property CheckCollection^ Checks {
    CheckCollection^ get ();
}
/** @property */
public CheckCollection get_Checks ()
public function get Checks () : CheckCollection

Property Value

A CheckCollection object that represents all the check constraints defined on the user-defined function.

Remarks

This property is only valid for multi-statement table-valued functions.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.