Share via


Generator.Constraints Property

Gets or sets the check constraint information for the column.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
<InputAttribute(AutoAssignedInput := AutoAssignedInput.Constraint, ReadOnly := True,  _
    Visible := False)> _
Public Property Constraints As Collection(Of String)
[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);
}
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.Constraint, ReadOnly = true, 
    Visible = false)>]
member Constraints : Collection<string> with get, set
function get Constraints () : Collection<String>
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

See Also

Reference

Generator Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

InputAttribute

AutoAssignedInput