Constraint.Table Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the DataTable to which the constraint applies.
public:
abstract property System::Data::DataTable ^ Table { System::Data::DataTable ^ get(); };
public abstract System.Data.DataTable? Table { get; }
public abstract System.Data.DataTable Table { get; }
[System.Data.DataSysDescription("ConstraintTableDescr")]
public abstract System.Data.DataTable Table { get; }
member this.Table : System.Data.DataTable
[<System.Data.DataSysDescription("ConstraintTableDescr")>]
member this.Table : System.Data.DataTable
Public MustOverride ReadOnly Property Table As DataTable
Property Value
A DataTable to which the constraint applies.
- Attributes
Examples
The following example returns the DataTable of a Constraint.
private void GetDataTable(UniqueConstraint constraint){
DataTable table = constraint.Table;
Console.WriteLine(table.TableName);
}
Private Sub GetDataTable(constraint As UniqueConstraint)
Dim table As DataTable = constraint.Table
Console.WriteLine(table.TableName)
End Sub
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.