Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UniqueConstraint Constructor

Initializes a new instance of the UniqueConstraint class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method UniqueConstraint(DataColumn) Initializes a new instance of the UniqueConstraint class with the specified DataColumn.
Public method UniqueConstraint(DataColumn[]) Initializes a new instance of the UniqueConstraint class with the given array of DataColumn objects.
Public method UniqueConstraint(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.
Public method UniqueConstraint(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.
Public method UniqueConstraint(String, DataColumn) Initializes a new instance of the UniqueConstraint class with the specified name and DataColumn.
Public method UniqueConstraint(String, DataColumn[]) Initializes a new instance of the UniqueConstraint class with the specified name and array of DataColumn objects.
Public method UniqueConstraint(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.
Public method UniqueConstraint(String, 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.
Public method UniqueConstraint(String, 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.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.