Свойство Checks
Represents a collection of Check objects. Each Check object represents a check constraint defined on the user-defined function.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Check))> _
Public ReadOnly Property Checks As CheckCollection
Get
'Применение
Dim instance As UserDefinedFunction
Dim value As CheckCollection
value = instance.Checks
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Check))]
public CheckCollection Checks { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(Check))]
public:
property CheckCollection^ Checks {
CheckCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Check))>]
member Checks : CheckCollection
function get Checks () : CheckCollection
Значение свойства
Тип Microsoft.SqlServer.Management.Smo. . :: . .CheckCollection
A CheckCollection object that represents all the check constraints defined on the user-defined function.
Замечания
This property is only valid for multi-statement table-valued functions.