SyncSchemaColumn.Unique Property
Gets or sets whether the values in each row of the column must be unique.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Property Unique As Boolean
Get
Set
'Usage
Dim instance As SyncSchemaColumn
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);
}
member Unique : bool with get, set
function get Unique () : boolean
function set Unique (value : boolean)
Property Value
Type: System.Boolean
true if the values in each row of the column must be unique; otherwise, false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | value is a null reference (Nothing in Visual Basic). |