UniqueConstraint Constructor

 

Initializes a new instance of the UniqueConstraint class.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_pubmethodUniqueConstraint(DataColumn^)

Initializes a new instance of the UniqueConstraint class with the specified DataColumn.

System_CAPS_pubmethodUniqueConstraint(DataColumn^, Boolean)

Initializes a new instance of the UniqueConstraint class with the DataColumn to constrain, and a value specifying whether the constraint is a primary key.

System_CAPS_pubmethodUniqueConstraint(array<DataColumn^>^)

Initializes a new instance of the UniqueConstraint class with the given array of DataColumn objects.

System_CAPS_pubmethodUniqueConstraint(array<DataColumn^>^, Boolean)

Initializes a new instance of the UniqueConstraint class with an array of DataColumn objects to constrain, and a value specifying whether the constraint is a primary key.

System_CAPS_pubmethodUniqueConstraint(String^, DataColumn^)

Initializes a new instance of the UniqueConstraint class with the specified name and DataColumn.

System_CAPS_pubmethodUniqueConstraint(String^, DataColumn^, Boolean)

Initializes a new instance of the UniqueConstraint class with the specified name, the DataColumn to constrain, and a value specifying whether the constraint is a primary key.

System_CAPS_pubmethodUniqueConstraint(String^, array<DataColumn^>^)

Initializes a new instance of the UniqueConstraint class with the specified name and array of DataColumn objects.

System_CAPS_pubmethodUniqueConstraint(String^, array<DataColumn^>^, Boolean)

Initializes a new instance of the UniqueConstraint class with the specified name, an array of DataColumn objects to constrain, and a value specifying whether the constraint is a primary key.

System_CAPS_pubmethodUniqueConstraint(String^, array<String^>^, Boolean)

Initializes a new instance of the UniqueConstraint class with the specified name, an array of DataColumn objects to constrain, and a value specifying whether the constraint is a primary key.

Return to top
Show: