Bagikan melalui


Constraint.Table Properti

Definisi

Mendapatkan batasan DataTable yang berlaku.

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

Nilai Properti

A DataTable yang batasannya berlaku.

Atribut

Contoh

Contoh berikut mengembalikan DataTable dari 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

Berlaku untuk