UserDefinedFunction.Checks Propiedad
Represents a collection of Check objects. Each Check object represents a check constraint defined on the user-defined function.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Check), SfcObjectFlags.Design)> _
Public ReadOnly Property Checks As CheckCollection
Get
'Uso
Dim instance As UserDefinedFunction
Dim value As CheckCollection
value = instance.Checks
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Check), SfcObjectFlags.Design)]
public CheckCollection Checks { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(Check), SfcObjectFlags::Design)]
public:
property CheckCollection^ Checks {
CheckCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Check), SfcObjectFlags.Design)>]
member Checks : CheckCollection
function get Checks () : CheckCollection
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.CheckCollection
A CheckCollection object that represents all the check constraints defined on the user-defined function.
Comentarios
This property is only valid for multi-statement table-valued functions.
Ejemplos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo