Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULMetaDataCollectionNames class


ForeignKeys property

Provides a constant for use with the ULConnection.GetSchema(String) that represents the ForeignKeys collection.

Visual Basic
Public Shared Readonly Property ForeignKeys As String
public const string  ForeignKeys { get;}
Property value

A string representing the name of the ForeignKeys collection.


The following code fills a DataTable with the ForeignKeys collection.

' Visual Basic
Dim schema As DataTable = _
  conn.GetSchema( ULMetaDataCollectionNames.ForeignKeys )

// C#
DataTable schema =
  conn.GetSchema( ULMetaDataCollectionNames.ForeignKeys );
See also