Udostępnij za pośrednictwem


Table.Checks Property

Represents a collection of Check objects. Each Check object represents a check constraint defined on the table.

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 Check object that represents all the check constraints that are defined on the table.

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.