Generator.Constraints Property
Gets the check constraint information for the column.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)
Syntax
'Declaration
Public Property Constraints As Collection(Of String)
'Usage
Dim instance As Generator
Dim value As Collection(Of String)
value = instance.Constraints
instance.Constraints = value
public Collection<string> Constraints { get; set; }
public:
property Collection<String^>^ Constraints {
Collection<String^>^ get ();
void set (Collection<String^>^ value);
}
/** @property */
public Collection<String> get_Constraints ()
/** @property */
public void set_Constraints (Collection<String> value)
public function get Constraints () : Collection<String>
public function set Constraints (value : Collection<String>)
Property Value
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.
See Also
Reference
Generator Class
Generator Members
Microsoft.VisualStudio.TeamSystem.Data.DataGenerator Namespace
GeneratorAttribute
GeneratorInit
IGenerator
Constraint
Concepts
An Overview of Data Generator Extensibility
Specifying Details of Data Generation for a Column