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.

示例

设置属性