다음을 통해 공유


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.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.

예제

속성 설정