Constraint.Table Constraint.Table Constraint.Table Constraint.Table Property

Definición

Obtiene el DataTable al que se aplica la restricción.Gets the DataTable to which the constraint applies.

public:
 abstract property System::Data::DataTable ^ Table { System::Data::DataTable ^ get(); };
[System.Data.DataSysDescription("ConstraintTableDescr")]
public abstract System.Data.DataTable Table { get; }
member this.Table : System.Data.DataTable
Public MustOverride ReadOnly Property Table As DataTable

Valor de propiedad

DataTable al que se aplica la restricción.A DataTable to which the constraint applies.

Ejemplos

En el ejemplo siguiente se DataTable devuelve el Constraintde un.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

Se aplica a