Generator.Constraints Property
Gets or sets the check constraint information for the column.
Namespace: Microsoft.Data.Schema.DataGenerator
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.Constraint, ReadOnly := True, _
Visible := False)> _
Public Property Constraints As Collection(Of String)
'Usage
Dim instance As Generator
Dim value As Collection(Of String)
value = instance.Constraints
instance.Constraints = value
[InputAttribute(AutoAssignedInput = AutoAssignedInput.Constraint, ReadOnly = true,
Visible = false)]
public Collection<string> Constraints { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::Constraint, ReadOnly = true,
Visible = false)]
public:
property Collection<String^>^ Constraints {
Collection<String^>^ get ();
void set (Collection<String^>^ value);
}
public function get Constraints () : Collection<String>
public function set Constraints (value : Collection<String>)
Property Value
Type: System.Collections.ObjectModel.Collection<String>
A collection of strings that contain the check constraints that are defined on the column.
Remarks
This property is decorated with the InputAttribute and the AutoAssignedInput named parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.