Generator.Unique Property
Gets or sets a value that indicates whether the column that is being generated is part of a unique constraint or primary key constraint.
Namespace: Microsoft.VisualStudio.TeamSystem.Data.DataGenerator
Assembly: Microsoft.VisualStudio.TeamSystem.Data (in microsoft.visualstudio.teamsystem.data.dll)
Syntax
'Declaration
Public Property Unique As Boolean
'Usage
Dim instance As Generator
Dim value As Boolean
value = instance.Unique
instance.Unique = value
public bool Unique { get; set; }
public:
property bool Unique {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_Unique ()
/** @property */
public void set_Unique (boolean value)
public function get Unique () : boolean
public function set Unique (value : boolean)
Property Value
true if the column that is being generated is part of a unique constraint or a primary key constraint; otherwise false.
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
Unique
Concepts
An Overview of Data Generator Extensibility
Specifying Details of Data Generation for a Column