Generator.Constraints – vlastnost
Získá nebo nastaví informace o kontrolu omezení pro sloupec.
Obor názvů: Microsoft.Data.Schema.Tools.DataGenerator
Sestavení: Microsoft.Data.Schema.Tools (v Microsoft.Data.Schema.Tools.dll)
Syntaxe
'Deklarace
<InputAttribute(AutoAssignedInput := AutoAssignedInput.Constraint, ReadOnly := True, _
Visible := False)> _
Public Property Constraints As Collection(Of String)
Get
Set
[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>)
Hodnota vlastnosti
Typ: System.Collections.ObjectModel.Collection<String>
Kolekce řetězců obsahujících dané omezení definované sloupce.
Poznámky
Tato vlastnost je dekorován InputAttribute a AutoAssignedInput s názvem parametru.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.